use 
 when new lines are a must if minify_html is enabled

This commit is contained in:
Michael Save 2012-01-07 11:54:25 +11:00
parent 3a16a570dd
commit 0ac75577ac

View File

@ -1276,12 +1276,17 @@
}
function quote($body, $quote=true) {
global $config;
$body = str_replace('<br/>', "\n", $body);
$body = strip_tags($body);
$body = preg_replace("/(^|\n)/", '$1&gt;', $body);
if($config['minify_html'])
$body = str_replace("\n", '&#010;', $body);
return $body . "\n";
}