Trim comments
This commit is contained in:
parent
cfd3b530ab
commit
d73702e5cc
|
@ -353,6 +353,7 @@ class Template extends Render
|
|||
*/
|
||||
private function _appendText($text)
|
||||
{
|
||||
$text = preg_replace('/<!--(.|\s)*?-->/', '', $text);
|
||||
$this->_line += substr_count($text, "\n");
|
||||
$strip = $this->_options & Fenom::AUTO_STRIP;
|
||||
if ($this->_filters) {
|
||||
|
|
Loading…
Reference in New Issue