From ec86d5b35e039860969a5993d9ecaea9758065e8 Mon Sep 17 00:00:00 2001 From: jpawlowski Date: Fri, 5 Apr 2019 11:34:28 +0000 Subject: [PATCH] 98_Installer: fix linebreak for search header git-svn-id: https://svn.fhem.de/fhem/trunk@19118 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_Installer.pm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/fhem/FHEM/98_Installer.pm b/fhem/FHEM/98_Installer.pm index 8426cfdd2..165cb0bdd 100644 --- a/fhem/FHEM/98_Installer.pm +++ b/fhem/FHEM/98_Installer.pm @@ -1338,10 +1338,7 @@ sub CreateSearchList ($$@) { my $header = ''; my $footer = ''; if ($html) { - $header = -''; + $header = ''; $footer = ''; } @@ -1424,16 +1421,21 @@ sub CreateSearchList ($$@) { # Add search input $header .= -'
' + . '' + . ' search \'+ q.value" style="float: left; margin-right: 2em;">' . $FW_CSRF_input . '' . '' . '' - . '
'; + . '' + . '' + . ''; my $found = 0; @@ -3166,9 +3168,11 @@ m/^([^<>\n\r]+?)(?:\s+(\(last release only\)))?(?:\s+(?:<(.*)>))?$/ . $tdOpen . 'Module metadata do not contain any prerequisites.' . "\n" . 'For automatic source code analysis, please install ' - . ( $html + . ( + $html ? '' - : '' ) + : '' + ) . 'Perl::PrereqScanner::NotQuiteLite' . ( $html ? '' : '' ) . ' first.'