1
This commit is contained in:
@@ -342,6 +342,8 @@ class SkuController extends BaseController
|
||||
|
||||
// 只保留 body 内容
|
||||
if (preg_match('/<body[^>]*>(.*?)<\/body>/is', $html, $m)) {
|
||||
$html = $m[1];
|
||||
}
|
||||
return trim($html);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user