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,
)

View file

@ -1,5 +1,5 @@
aiohttp==3.9.4
bleach==5.0.1
bleach==6.1.0
boto3==1.34.74
bw-file-resubmit==0.6.0rc2
celery==5.3.1
@ -55,7 +55,7 @@ pytest-django==4.8.0
pytest-env==0.6.2
pytest-xdist==2.3.0
pytidylib==0.3.2
types-bleach==6.0.0.4
types-bleach==6.1.0.20240331
types-dataclasses==0.6.6
types-Markdown==3.4.2.10
types-Pillow==10.2.0.20240311