正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -165,7 +165,7 @@ class ProofreadingController extends BaseController | @@ -165,7 +165,7 @@ class ProofreadingController extends BaseController | ||
| 165 | $matches = array(); | 165 | $matches = array(); |
| 166 | preg_match_all($pattern, $strippedContent, $matches); | 166 | preg_match_all($pattern, $strippedContent, $matches); |
| 167 | $textContentArray = array_filter($matches[1], function($item) { | 167 | $textContentArray = array_filter($matches[1], function($item) { |
| 168 | - $item = str_replace(" ", "", $item); | 168 | + var_dump($item); |
| 169 | return !empty(trim($item)); | 169 | return !empty(trim($item)); |
| 170 | }); | 170 | }); |
| 171 | $textContentArray = array_values($textContentArray); | 171 | $textContentArray = array_values($textContentArray); |
-
请 注册 或 登录 后发表评论