mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: bleach upgrade 6.0
Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
a2487c20d8
commit
65ba735f18
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
"pre",
|
||||
"h4",
|
||||
|
|
Loading…
Add table
Reference in a new issue