4 ms·
The Santizer constructor can take a list of allowed elements etc.: https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer/Sanitizer https://developer.mozill
by evilpie 5y ago
The Santizer constructor can take a list of allowed elements etc.: https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer/Sanitizer https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer/S...
- slver 5y agoOh I see, thanks. It's a good start, but the attributes should be specified both globally and per node type, I don't see this. Also a blacklist (the "drop" variations) is a really bad idea.