Add very basic html minification
This commit is contained in:
parent
0270ba397c
commit
f44d4cb6c9
@ -67,6 +67,10 @@ class HtmlView extends HttpView {
|
|||||||
$buffer = ob_get_contents();
|
$buffer = ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
||||||
|
|
||||||
|
// Very basic html minify, that won't affect content between html tags
|
||||||
|
$buffer = preg_replace('/>\s+</', '> <', $buffer);
|
||||||
|
|
||||||
return $buffer;
|
return $buffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user