1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-30 14:14:55 +08:00

优化htmlprufier处理

This commit is contained in:
xiaochong0302 2023-05-07 18:11:38 +08:00
parent 97125e6e09
commit 28651499df

View File

@ -23,7 +23,6 @@ class Purifier
*/
protected $options = [
'CSS.AllowedProperties' => 'color,font-size,text-align,background-color',
'Core.EscapeNonASCIICharacters' => true,
'AutoFormat.AutoParagraph' => true,
'AutoFormat.RemoveEmpty' => true,
'HTML.TargetBlank' => true,