You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But style, head, body, html tags are all being escaped still. table, tr, td, tbody, p, h1, h2 tags are not escaped. Basically, the list does nothing at all.
I am using the library via a CDN and therefore I'm calling the function like so: var cleanHtml = filterXSS(dirtyHtml, sanitizerOptions);
The text was updated successfully, but these errors were encountered:
chladnefazole
changed the title
WhiteList settings replacing default whitelist
whiteList does nothing
Nov 23, 2021
I have whitelist:
But
style, head, body, html
tags are all being escaped still.table, tr, td, tbody, p, h1, h2
tags are not escaped. Basically, the list does nothing at all.I am using the library via a CDN and therefore I'm calling the function like so:
var cleanHtml = filterXSS(dirtyHtml, sanitizerOptions);
The text was updated successfully, but these errors were encountered: