@@ -192,6 +192,9 @@ |
||
192 | 192 | return $this->activeAttributes; |
193 | 193 | } |
194 | 194 | |
195 | + /** |
|
196 | + * @param string $html |
|
197 | + */ |
|
195 | 198 | protected function minifyHtmlOutput($html) |
196 | 199 | { |
197 | 200 | $search = array( |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | */ |
153 | 153 | public function setType($type) |
154 | 154 | { |
155 | - $this->type = (string)$type; |
|
155 | + $this->type = (string) $type; |
|
156 | 156 | } |
157 | 157 | |
158 | 158 | /** |
@@ -195,8 +195,8 @@ discard block |
||
195 | 195 | protected function minifyHtmlOutput($html) |
196 | 196 | { |
197 | 197 | $search = array( |
198 | - '/\>[^\S]+/s', // strip whitespaces after tags, except space |
|
199 | - '/[^\S]+\</s', // strip whitespaces before tags, except space |
|
198 | + '/\>[^\S]+/s', // strip whitespaces after tags, except space |
|
199 | + '/[^\S]+\</s', // strip whitespaces before tags, except space |
|
200 | 200 | '/(\s)+/s' // shorten multiple whitespace sequences |
201 | 201 | ); |
202 | 202 |