Fix small bug for strip mode
Removing extra spaces in strip mode
This commit is contained in:
parent
fc188a5822
commit
cfd3b530ab
|
@ -376,7 +376,7 @@ class Template extends Render
|
|||
}
|
||||
if ($strip) {
|
||||
$text = preg_replace('/\s+/uS', ' ', str_replace(array("\r", "\n"), " ", $text));
|
||||
$text = str_replace("> <", "><", $text);
|
||||
$text = str_replace("> <", "><", trim($text));
|
||||
}
|
||||
$this->_body .= $text;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue