mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-30 22:24:55 +08:00
优化htmlprufier处理
This commit is contained in:
parent
97125e6e09
commit
28651499df
@ -23,7 +23,6 @@ class Purifier
|
|||||||
*/
|
*/
|
||||||
protected $options = [
|
protected $options = [
|
||||||
'CSS.AllowedProperties' => 'color,font-size,text-align,background-color',
|
'CSS.AllowedProperties' => 'color,font-size,text-align,background-color',
|
||||||
'Core.EscapeNonASCIICharacters' => true,
|
|
||||||
'AutoFormat.AutoParagraph' => true,
|
'AutoFormat.AutoParagraph' => true,
|
||||||
'AutoFormat.RemoveEmpty' => true,
|
'AutoFormat.RemoveEmpty' => true,
|
||||||
'HTML.TargetBlank' => true,
|
'HTML.TargetBlank' => true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user