tgalopin / html-sanitizer

Sanitize untrustworthy HTML user input
MIT License
390 stars 41 forks source link

Allow to configure allowed schemes #34

Closed Lctrs closed 4 years ago

Lctrs commented 4 years ago

I have a use case where I need to remove all http url from a, img, and iframe nodes (and not converting them to https). This will allow me to do it.

tgalopin commented 4 years ago

Thanks @Lctrs !