Dompurify unable to add custom tags

前端 未结 0 1190
礼貌的吻别
礼貌的吻别 2020-12-05 11:22

I use

const clean = DOMpurify.sanitize(\'
\',{ADD_TAGS:[\'myTag\']}

to get sure there are no XXS issues w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题