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

View file

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