Sanitize HTML after rendering markdown

This commit is contained in:
kkthxbye-code
2022-06-17 23:16:57 +02:00
parent e6018cd38f
commit 7c79c90cd2
4 changed files with 42 additions and 13 deletions

View File

@@ -125,3 +125,7 @@ tablib
# Timezone data (required by django-timezone-field on Python 3.9+)
# https://github.com/python/tzdata
tzdata
# HTML sanitizer
# https://github.com/mozilla/bleach
bleach