diff --git a/src/View/HtmlView.php b/src/View/HtmlView.php index 6a27dd5..27d3494 100644 --- a/src/View/HtmlView.php +++ b/src/View/HtmlView.php @@ -67,6 +67,10 @@ class HtmlView extends HttpView { $buffer = ob_get_contents(); ob_end_clean(); + + // Very basic html minify, that won't affect content between html tags + $buffer = preg_replace('/>\s+ <', $buffer); + return $buffer; } }