1
This commit is contained in:
@@ -437,7 +437,7 @@ class SkuController extends BaseController
|
||||
@rmdir($dir);
|
||||
}
|
||||
|
||||
function cleanWordHtmlForWangEditor(string $html): string
|
||||
/*function cleanWordHtmlForWangEditor(string $html): string
|
||||
{
|
||||
// 1. 移除 Word 专属标签
|
||||
$html = preg_replace('/<o:p>.*?<\/o:p>/is', '', $html);
|
||||
@@ -470,7 +470,7 @@ class SkuController extends BaseController
|
||||
$html = str_replace(['<p></p>', '<p> </p>'], '', $html);
|
||||
|
||||
return trim($html);
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user