|
...
|
...
|
@@ -165,7 +165,7 @@ class ProofreadingController extends BaseController |
|
|
|
$matches = array();
|
|
|
|
preg_match_all($pattern, $strippedContent, $matches);
|
|
|
|
$textContentArray = array_filter($matches[1], function($item) {
|
|
|
|
$item = str_replace(" ", "", $item);
|
|
|
|
var_dump($item);
|
|
|
|
return !empty(trim($item));
|
|
|
|
});
|
|
|
|
$textContentArray = array_values($textContentArray);
|
...
|
...
|
|