作者 lyh

gx

@@ -164,6 +164,8 @@ class ProofreadingController extends BaseController @@ -164,6 +164,8 @@ class ProofreadingController extends BaseController
164 preg_match_all($pattern, $strippedContent, $matches); 164 preg_match_all($pattern, $strippedContent, $matches);
165 $textContentArray = array_filter($matches[1], function($item) { 165 $textContentArray = array_filter($matches[1], function($item) {
166 $content = trim($item); 166 $content = trim($item);
  167 + var_dump($content);
  168 + die();
167 return !empty(trim($item)); 169 return !empty(trim($item));
168 }); 170 });
169 $textContentArray = array_values($textContentArray); 171 $textContentArray = array_values($textContentArray);