@@ -53,12 +53,12 @@ |
||
53 | 53 | if (preg_match("/^(.+)([\.,;]+)$/", $text, $match)) { |
54 | 54 | $punctuation = substr($match[2], -1); |
55 | 55 | if ($this->suffix !== $punctuation) { |
56 | - $text = $match[1] . substr($match[2], 0, strlen($match[2]) - 1); |
|
57 | - return $openQuote . $text . $closeQuote . $punctuation; |
|
56 | + $text = $match[1].substr($match[2], 0, strlen($match[2]) - 1); |
|
57 | + return $openQuote.$text.$closeQuote.$punctuation; |
|
58 | 58 | } |
59 | 59 | } |
60 | 60 | } |
61 | - return $openQuote . $text . $closeQuote; |
|
61 | + return $openQuote.$text.$closeQuote; |
|
62 | 62 | } |
63 | 63 | return $text; |
64 | 64 | } |