1
0
Fork 0

Update bleach to 6.1.0

This commit is contained in:
Bart Schuurmans 2024-04-01 18:30:53 +02:00
parent 1303f539c3
commit b6174d9101
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ def clean(input_text: str) -> str:
"""Run through "bleach" """
return bleach.clean(
input_text,
tags=[
tags={
"p",
"blockquote",
"br",
@ -20,7 +20,7 @@ def clean(input_text: str) -> str:
"ul",
"ol",
"li",
],
},
attributes=["href", "rel", "src", "alt", "data-mention"],
strip=True,
)