diff --git a/core/module/page/page.php b/core/module/page/page.php index 0aca5216..3ab1fc66 100644 --- a/core/module/page/page.php +++ b/core/module/page/page.php @@ -436,7 +436,7 @@ class page extends common { if (!is_dir(self::DATA_DIR . self::$i18n . '/content')) { mkdir(self::DATA_DIR . self::$i18n . '/content'); } - $content = empty($this->getInput('pageEditContent', null)) ? '

 

' : $this->getInput('pageEditContent', null); + $content = empty($this->getInput('pageEditContent', null)) ? '

' : str_replace('

', '

 

', $this->getInput('pageEditContent', null)); file_put_contents( self::DATA_DIR . self::$i18n . '/content/' . $pageId . '.html' , $content ); // Barre renommée : changement le nom de la barre dans les pages mères if ($this->getinput('pageEditBlock') === 'bar') {