diff --git a/inc/functions.php b/inc/functions.php index f078273c..4f3d7d1b 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1284,10 +1284,12 @@ $body = preg_replace("/(^|\n)/", '$1>', $body); + $body .= "\n"; + if($config['minify_html']) $body = str_replace("\n", ' ', $body); - return $body . "\n"; + return $body; } function markup_url($matches) {