This commit is contained in:
2025-12-16 15:57:44 +08:00
parent dad1cd887e
commit f9b8a4748b
+2 -2
View File
@@ -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);
}
}*/