@@ -131,17 +131,17 @@ discard block |
||
| 131 | 131 | if ($this->formatType > 0 && is_string($html)) { |
| 132 | 132 | $html = $this->formatHtml($html); |
| 133 | 133 | } |
| 134 | - if ( is_string($html)) { |
|
| 134 | + if (is_string($html)) { |
|
| 135 | 135 | // remove white space after line ending |
| 136 | 136 | $this->rTrimLines($html); |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | // recover line-breaks |
| 140 | - if (Environment::isWindows() && is_string($html) ) { |
|
| 140 | + if (Environment::isWindows() && is_string($html)) { |
|
| 141 | 141 | $html = str_replace($this->newline, "\r\n", $html); |
| 142 | 142 | } |
| 143 | 143 | |
| 144 | - return (string)$html; |
|
| 144 | + return (string) $html; |
|
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | /** |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | '/(<(?:[^<>]+(?:"[^"]*"|\'[^\']*\')?)+>)/', |
| 185 | 185 | $html, |
| 186 | 186 | -1, |
| 187 | - \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY |
|
| 187 | + \PREG_SPLIT_DELIM_CAPTURE|\PREG_SPLIT_NO_EMPTY |
|
| 188 | 188 | ); |
| 189 | 189 | |
| 190 | 190 | if (false === $htmlArrayTemp) { |