leizongmin / js-xss

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
http://jsxss.com
Other
5.19k stars 630 forks source link

白名单设置了允许标签内的style,正常显示style的内容,但是把style里的line-height过滤掉了 #192

Closed qqq5833547 closed 4 years ago

qqq5833547 commented 4 years ago

你好,白名单设置了允许标签内的style,正常显示style的内容,但是把style里的line-height过滤掉了

zhixinpeng commented 4 years ago

image 需要把css设置为 false

qqq5833547 commented 4 years ago

图片 需要把css设置为false 已经解决,忘记关issues了,谢谢