aboutsummaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-04-13 20:46:04 +0200
committerDaniel Schadt <kingdread@gmx.de>2023-04-13 20:46:04 +0200
commitc8d3a9d1a926b244aadedb0d1811d8d8d4a4f4c0 (patch)
tree6da4cd78a287e4cb615dbad518fb43df81aae9a9 /tests/conftest.py
parentbe05f4d4e1729714ffb4c3c37b5dcedcd7c79c26 (diff)
downloadfietsboek-c8d3a9d1a926b244aadedb0d1811d8d8d4a4f4c0.tar.gz
fietsboek-c8d3a9d1a926b244aadedb0d1811d8d8d4a4f4c0.tar.bz2
fietsboek-c8d3a9d1a926b244aadedb0d1811d8d8d4a4f4c0.zip
replace bleach with nh3
See https://github.com/mozilla/bleach/issues/698 nh3 is a small wrapper around https://crates.io/crates/ammonia - more Rust code in Fietsboek! \o/ The default seems to be to strip unknown tags instead of replace them with htmlentities, which is fine. Then the <script> tags are completely gone.
Diffstat (limited to 'tests/conftest.py')
0 files changed, 0 insertions, 0 deletions