@@ -46,10 +46,10 @@ |
||
| 46 | 46 | $output = $application->handle()->getContent(); |
| 47 | 47 | |
| 48 | 48 | // HTML Minification |
| 49 | -if ( $appConfig->html_minify ) { |
|
| 50 | - ob_start( function() use ($output) { |
|
| 51 | - $search = array( '/\>[^\S ]+/s', '/[^\S ]+\</s', '/(\s)+/s' ); |
|
| 52 | - $replace = array( '>', '<', '\\1' ); |
|
| 49 | +if ($appConfig->html_minify) { |
|
| 50 | + ob_start(function() use ($output) { |
|
| 51 | + $search = array('/\>[^\S ]+/s', '/[^\S ]+\</s', '/(\s)+/s'); |
|
| 52 | + $replace = array('>', '<', '\\1'); |
|
| 53 | 53 | $buffer = preg_replace($search, $replace, $output); |
| 54 | 54 | return $buffer; |
| 55 | 55 | }); |