messense / nh3

Python binding to Ammonia HTML sanitizer Rust crate
https://nh3.readthedocs.io
MIT License
260 stars 8 forks source link

How disable to remove unsupported tags? #23

Open daeeros opened 1 year ago

daeeros commented 1 year ago

Like if i have normal output removes it, but how can i make like it <asfjiasfj></asfjiasfj>?

adamchainz commented 11 months ago

Ammonia only works on an allow-list basis, so to allow particular tags you’ll need to list them.