diff --git a/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php b/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php index ab86f44e8..f0b207425 100755 --- a/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php +++ b/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php @@ -85,7 +85,7 @@ class SmartyParser extends Smarty implements ParserInterface $this->registerFilter('output', array($this, "removeBlankLines")); $this->registerFilter('variable', array(__CLASS__, "theliaEscape")); } - + public function removeBlankLines($tpl_source, \Smarty_Internal_Template $template) { return preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $tpl_source); diff --git a/templates/default/index.html b/templates/default/index.html index bdf18cec8..e0411d6b9 100644 --- a/templates/default/index.html +++ b/templates/default/index.html @@ -17,8 +17,8 @@ - - + + diff --git a/templates/default/layout.tpl b/templates/default/layout.tpl index 8cd5d0129..6bf781a3c 100644 --- a/templates/default/layout.tpl +++ b/templates/default/layout.tpl @@ -113,7 +113,7 @@ URL: http://www.thelia.net