issues
search
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
MIT License
3.68k
stars
349
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
store options (especially regexps) as JSON
#550
kussmaul
closed
1 year ago
5
It is possible to add a disallowed closing tag with valid HTML as well as opening tag with invalid HTML markup.
#549
ghost
closed
1 year ago
3
styles are always removed in browser
#547
Julian-B90
closed
1 year ago
26
Not compatible with htmlparser2 >= 7
#541
rolandmas
closed
1 year ago
3
Allow escaping of more than just tags
#540
Zsar
closed
2 years ago
3
img src whitelist
#539
Umbranoxio
closed
2 years ago
2
Properties using single quotes are being replaced with double quotes
#538
adilmarjunior
closed
2 years ago
3
Please upgrade Postcss to later version to fix vulnerability issue
#537
akbarkz
closed
2 years ago
3
release 2.7.0
#534
boutell
closed
2 years ago
0
Disallowed tags/attributes
#532
abhishekmatta999
closed
2 years ago
2
Cannot use protocol-relative URL in script src attribute
#531
ronosm
closed
1 year ago
8
zade credit
#530
boutell
closed
2 years ago
0
Add common image attributes
#529
zadeviggers
closed
2 years ago
0
Ability to ignore case of CSS properties
#528
scottwarren
closed
2 years ago
3
feature: do not check case for css properties
#527
scottwarren
closed
2 years ago
2
when pass `{..., parser: {decodeEntities: false}}`, the `allowedStyles`'s setting isn't work
#526
zhuxindaba
closed
2 years ago
1
Allow alt attribute on img by default
#525
brunnerh
closed
2 years ago
0
Changing the HTML and hence breaking the template
#524
monika-agg
closed
2 years ago
4
Bumps version
#523
abea
closed
2 years ago
0
Fixes important stripping
#522
abea
closed
2 years ago
0
Fix trailing text issue on transformTag
#521
alex-rantos
closed
2 years ago
1
Bumps version
#520
abea
closed
2 years ago
0
Pentest
#519
chladnefazole
closed
2 years ago
2
Sanitizing general purpose text - Ampersand encoding and '<' or '>'
#518
grapevinegizmos
closed
2 years ago
2
Default call should disallow all tags and attributes
#517
hgezim
closed
2 years ago
7
Fix #504: fix inconsistent iframe src behavior across browsers
#516
mattclough1
closed
2 years ago
4
Revert "Fix #504: fix inconsistent iframe src behavior across browsers"
#515
boutell
closed
2 years ago
0
added credit and adjusted README language about regular expressions
#513
boutell
closed
2 years ago
0
allowedClasses support for regex expressions
#512
alex-rantos
closed
2 years ago
4
hotfix: remove klona
#511
boutell
closed
2 years ago
0
allowedStyles is not working
#510
vimutti77
closed
2 years ago
3
remove empty tag
#509
mrbbp
closed
2 years ago
2
Can I use sanitizeHtml with NextJS Link
#508
vadimsabadosh
closed
2 years ago
2
Possible to allow any src for script tags?
#507
tuomassalo
closed
2 years ago
3
Trailing text is not preserved
#506
IvanPizhenko
closed
2 years ago
7
Fix #504: fix inconsistent iframe src behavior across browsers
#505
mattclough1
closed
2 years ago
7
iframe src attribute not allowed in some browsers when iframe options set
#504
mattclough1
closed
2 years ago
1
Bumps version
#503
abea
closed
2 years ago
0
value of `undefined` returns unexpected `"undefined"`
#502
shellscape
closed
2 years ago
3
README: Add note about text content being escaped.
#501
xyzshantaram
closed
2 years ago
3
Return true/false if sanitization required or not
#498
cyberfox1
closed
2 years ago
7
sanitizer is automatically encoding special characters
#497
aysiscore
closed
2 years ago
2
Fix #486: Return an empty string when input is a nullish HTML
#496
postatum
closed
2 years ago
3
PRO-2076 no script tag bodies allowed at all when locking down to certain script sources
#495
boutell
closed
2 years ago
1
nonTextTags is not working for script tag
#494
greg-md
closed
2 years ago
2
Bumps version number
#493
abea
closed
2 years ago
0
Cannot allow Javascript URL Scheme
#492
bencreynolds
closed
2 years ago
1
Replaces uses of whitelist
#491
abea
closed
2 years ago
0
Detecting nested media objects inside exclusiveFilter
#490
wiscat
closed
2 years ago
3
Cannot allow SVGs elements to get working
#489
jozef-rzadkosz
closed
5 months ago
4
Previous
Next