Fix missing \n

This commit is contained in:
Laurent Destailleur 2019-02-07 19:39:23 +01:00
parent 89af7b0e98
commit 8d82135033

View File

@ -669,7 +669,7 @@ function dolSavePageContent($filetpl, $object, $objectpage)
$tplcontent.= "// END PHP ?>\n"; $tplcontent.= "// END PHP ?>\n";
if (! empty($conf->global->WEBSITE_FORCE_DOCTYPE_HTML5)) if (! empty($conf->global->WEBSITE_FORCE_DOCTYPE_HTML5))
{ {
$tplcontent.= "<!DOCTYPE html>"; $tplcontent.= "<!DOCTYPE html>\n";
} }
$tplcontent.= '<html'.($shortlangcode ? ' lang="'.$shortlangcode.'"':'').'>'."\n"; $tplcontent.= '<html'.($shortlangcode ? ' lang="'.$shortlangcode.'"':'').'>'."\n";
$tplcontent.= '<head>'."\n"; $tplcontent.= '<head>'."\n";