fix: bleach upgrade 6.0

Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
moson-mo 2023-01-23 23:50:04 +01:00
parent a2487c20d8
commit 65ba735f18
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296

View file

@ -140,7 +140,7 @@ def update_comment_render(comment: PackageComment) -> None:
], ],
) )
allowed_tags = bleach.sanitizer.ALLOWED_TAGS + [ allowed_tags = list(bleach.sanitizer.ALLOWED_TAGS) + [
"p", "p",
"pre", "pre",
"h4", "h4",