Completed
Push — master ( e68259...3315cd )
by jxlwqq
01:58
created
src/ChineseTypesetting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         $text = preg_replace('/(……){2,}/iu', '……', $text);
119 119
 
120 120
         // 中文以及中文标点符号)》后使用全角中文标点符号(包括!?。,():;)
121
-        $text = preg_replace_callback('/(['.$this->cjk.')》”])([!?\.,\(\):;])/iu', function ($matches) {
121
+        $text = preg_replace_callback('/(['.$this->cjk.')》”])([!?\.,\(\):;])/iu', function($matches) {
122 122
             $replace = [
123 123
                 '!' => '!',
124 124
                 '?' => '?',
Please login to merge, or discard this patch.