@@ -26,6 +26,6 @@ |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | public function count() { |
29 | - return (int)$this->size; |
|
29 | + return (int) $this->size; |
|
30 | 30 | } |
31 | 31 | } |
@@ -527,7 +527,9 @@ |
||
527 | 527 | $mode = 'tag'; |
528 | 528 | } elseif (preg_match("/\s/", $character)) { |
529 | 529 | $current_word .= $character; |
530 | - if (!$keepNewLines) $current_word = preg_replace('/\s+/S', ' ', $current_word); |
|
530 | + if (!$keepNewLines) { |
|
531 | + $current_word = preg_replace('/\s+/S', ' ', $current_word); |
|
532 | + } |
|
531 | 533 | } else { |
532 | 534 | if ($current_word != '') { |
533 | 535 | $words[] = $current_word; |