@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | // Save original formated pre, textarea, comments, styles and scripts & replace them with markers |
170 | 170 | preg_match_all( |
171 | 171 | '/(?s)((<!--.*?-->)|(<[ \n\r]*pre[^>]*>.*?<[ \n\r]*\/pre[^>]*>)|(<[ \n\r]*textarea[^>]*>.*?<[ \n\r]*\/textarea[^>]*>)|(<[ \n\r]*style[^>]*>.*?<[ \n\r]*\/style[^>]*>)|(<[ \n\r]*script[^>]*>.*?<[ \n\r]*\/script[^>]*>))/im', |
172 | - (string)$html, |
|
172 | + (string) $html, |
|
173 | 173 | $matches |
174 | 174 | ); |
175 | 175 | $noFormat = $matches[0]; // do not format these block elements |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | '/(<(?:[^<>]+(?:"[^"]*"|\'[^\']*\')?)+>)/', |
192 | 192 | $html, |
193 | 193 | -1, |
194 | - \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY |
|
194 | + \PREG_SPLIT_DELIM_CAPTURE|\PREG_SPLIT_NO_EMPTY |
|
195 | 195 | ); |
196 | 196 | |
197 | 197 | if (false === $htmlArrayTemp) { |