apostrophecms/sanitize-html
Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
JavaScriptMIT
Issues
- 10
Browser console warnings with React and Vite
#639 opened by bedwards-cms - 5
Update sanitize-html from 2.1.0 to 2.12.1 fails. Module parse failed: Unexpected token.
#663 opened by ricdev - 7
Allow tags in tags
#609 opened by cgorrieri - 7
How do I only allow tagged html
#645 opened by ViteOrder - 3
sanitizeHtml throws TypeError on '&' symbol
#606 opened by matejfalat - 6
- 0
Sanitize <style> content
#657 opened by mloureiro - 6
Fix checkmarx vulnerability
#648 opened by finbargp - 6
- 3
Allow code snippets
#649 opened by BenRacicot - 1
- 1
Update postcss
#642 opened by suharelli - 1
The postcss v8.4.27 vulnerability
#640 opened by Ali-Zmn - 4
allowedStyles does not work
#622 opened by david-siqi-liu - 1
- 4
Postcss vulnerability
#635 opened by wesleimarinho - 3
- 6
- 3
Add attribute rel to default attributes
#584 opened by jonasgrilleres - 5
- 3
README.md is reporting FAILED
#627 opened by alfreema - 1
Asynchronous transformTags call
#626 opened by Stanislavussov - 4
Unclosed tag in escape mode is removed
#603 opened by kiprobinsonknack - 6
- 2
Is it possible to transform and wrap?
#591 opened by rob-rountree-cyted - 1
All subsequent attributes get removed when an invalid attribute is encountered
#582 opened by aditigupta50 - 2
Support for nested tags in transformTags
#598 opened by seanhexl - 4
<sup> tag doesn't work with sanitizeHtml
#595 opened by samilieberman - 2
Applying styles to allowed class
#602 opened by jdozierezell - 1
- 4
Adding "text" argument to transformTags callback
#581 opened by ile - 2
sanitizeHtml remove the style attribute
#616 opened by vishaltyagi227 - 3
Add option to remove warning
#613 opened by mog422 - 3
- 1
`parseStyleAttributes` is not present in 2.8.1
#604 opened by bilobom - 10
- 3
Update sanitize-html from 2.7.3 to 2.8.0 fails under webpack 4: Module parse failed: Unexpected token
#592 opened by alexander-schranz - 3
Not working under IE 11
#578 opened by CaptainJon - 2
- 1
For wrapper tags, additional tags get added
#583 opened by aditigupta50 - 4
Cannot read property 'replace' of undefined
#579 opened by tyzion - 1
use latest htmlparser2
#565 opened by Young-zhiqiang - 1
- 2
Detect if a string was filtered
#571 opened by hrishikesh-k - 2
Distribute package as an es5 module
#574 opened by Matt-Butler - 0
- 3
- 4
How to avoid return of corrupted clean-text after for self closed tags?
#566 opened by lxtadhamnawito - 1
Option to merge subsequent tags that are the same
#564 opened by mustafa0x - 1
What is the Python equivalent of your library or do you have a Python implementation?
#563 opened by slidenerd