1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 18:47:20 +01:00

trailing \n after inline replying with minify_html enabled

This commit is contained in:
Michael Save 2012-01-07 11:55:25 +11:00
parent e8bd757d5d
commit fefa6fd23b

View File

@ -1284,10 +1284,12 @@
$body = preg_replace("/(^|\n)/", '$1>', $body); $body = preg_replace("/(^|\n)/", '$1>', $body);
$body .= "\n";
if($config['minify_html']) if($config['minify_html'])
$body = str_replace("\n", '
', $body); $body = str_replace("\n", '
', $body);
return $body . "\n"; return $body;
} }
function markup_url($matches) { function markup_url($matches) {