diff --git a/htdocs/core/search_page.php b/htdocs/core/search_page.php
index cf8be7ddb12..3cab48155ae 100644
--- a/htdocs/core/search_page.php
+++ b/htdocs/core/search_page.php
@@ -55,8 +55,8 @@ top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss);
-print '
'."\n";
-print '';
+print ''."\n";
+print '
';
// Define $searchform
if (! empty($conf->societe->enabled) && ! empty($conf->global->MAIN_SEARCHFORM_SOCIETE) && $user->rights->societe->lire)
diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index f772df7420b..30677ea5b9c 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -1719,7 +1719,7 @@ function printSearchForm($urlaction,$urlobject,$title,$htmlmodesearch,$htmlinput
$ret.='global->MAIN_HTML5_PLACEHOLDER)) $ret.=' placeholder="'.$langs->trans("SearchOf").''.strip_tags($title).'"';
else $ret.=' title="'.$langs->trans("SearchOf").''.strip_tags($title).'"';
- $ret.=' name="'.$htmlinputname.'" size="10" /> ';
+ $ret.=' name="'.$htmlinputname.'" size="10" />';
$ret.='';
$ret.="\n";
return $ret;