Merge pull request #211 from fenom-template/develop

Fix #162
This commit is contained in:
Ivan Shalganov 2016-02-23 12:56:24 +03:00
commit 7668426f65
2 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ class Template extends Render
if($this->_options & Fenom::AUTO_STRIP) {
$text = preg_replace('/\s+/uS', ' ', str_replace(array("\r", "\n"), " ", $text));
// $text = preg_replace('/\s*([\pP\pS]+)\s*/uS', '$1', $text);
$text = str_replace("> <", "><", $text);
}
$this->_body .= $text;
}