diff --git a/htdocs/core/lib/website2.lib.php b/htdocs/core/lib/website2.lib.php index 1d4f1fdb37f..41225ac30a7 100644 --- a/htdocs/core/lib/website2.lib.php +++ b/htdocs/core/lib/website2.lib.php @@ -132,7 +132,7 @@ function dolSavePageContent($filetpl, $object, $objectpage) $tplcontent.= ''."\n"; $tplcontent.= ''."\n"; - $tplcontent.= '
'."\n"; + $tplcontent.= ''."\n"; $tplcontent.= $objectpage->content."\n"; $tplcontent.= ''."\n"; $tplcontent.= ''."\n"; diff --git a/htdocs/website/index.php b/htdocs/website/index.php index a9a9b407027..0bbe816d8b3 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -3329,7 +3329,7 @@ if ($action == 'preview' || $action == 'createfromclone' || $action == 'createpa // Do not enable the contenteditable when page was grabbed, ckeditor is removing span and adding borders, // so editable will be available only from container created from scratch //$out.='