@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | //Searching for the page break tag |
86 | 86 | $breakTagPosition = strpos($text, "<!-- EndOfExcerptBlogOc -->"); |
87 | - if($breakTagPosition > 0){ |
|
87 | + if ($breakTagPosition > 0) { |
|
88 | 88 | return $this->completeDom(substr($text, 0, $breakTagPosition)); |
89 | 89 | } |
90 | 90 | |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | $trimed .= $string[$wordCounter]; |
99 | 99 | if ($wordCounter < $count - 1) { |
100 | 100 | $trimed .= " "; |
101 | - } else { |
|
101 | + }else { |
|
102 | 102 | $trimed .= "[...]"; |
103 | 103 | } |
104 | 104 | } |