Completed
Push — master ( d30904...6e7810 )
by jxlwqq
01:56
created
src/ChineseTypesetting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
         $text = preg_replace('/(……){2,}/iu', '……', $text);
105 105
 
106 106
         // 中文以及中文标点符号()》)后使用全角中文标点符号(包括!?。,():;)
107
-        $text = preg_replace_callback('/(['.$this->cjk.')》”])([!?\.,\(\):;])/iu', function ($matches) {
107
+        $text = preg_replace_callback('/(['.$this->cjk.')》”])([!?\.,\(\):;])/iu', function($matches) {
108 108
             $replace = [
109 109
                 '!' => '!',
110 110
                 '?' => '?',
Please login to merge, or discard this patch.