|
...
|
...
|
@@ -158,7 +158,6 @@ class TranslateLogic extends BaseLogic |
|
|
|
}
|
|
|
|
$contentData = array_values($contentData);
|
|
|
|
$pattern = '/<meta\s+[^>]*name=[\'"](keywords|description)[\'"][^>]*content=[\'"]([^\'"]+)[\'"]/i'; // 匹配 name 为 "keywords" 或 "description" 的 meta 标签的正则表达式
|
|
|
|
|
|
|
|
$matches1 = array();
|
|
|
|
preg_match_all($pattern, $strippedContent, $matches1);
|
|
|
|
$metaData = array();
|
...
|
...
|
|