diff --git a/htdocs/websites/index.php b/htdocs/websites/index.php index 6d1b61975ed..62bdb6c5657 100644 --- a/htdocs/websites/index.php +++ b/htdocs/websites/index.php @@ -446,8 +446,15 @@ if ($action == 'updatemeta') dol_delete_file($filetpl); + // TODO Same code than into updatecontent $tplcontent =''; - $tplcontent.= ''."\n"; + $tplcontent.= "\n"; $tplcontent.= ''."\n"; $tplcontent.= '
'."\n"; $tplcontent.= ''.dol_string_nohtmltag($objectpage->title, 0, 'UTF-8').''."\n"; @@ -598,7 +605,8 @@ if ($action == 'updatecontent' || ($action == 'preview' && (GETPOST('refreshsite // Now create the .tpl file with code to be able to make dynamic changes dol_delete_file($filetpl); - $tplcontent =''; + // TODO Same code than into updatemeta + $tplcontent =''; $tplcontent.= "