1
0
Fork 0

Sanitise description from Open Library

This commit is contained in:
Joeri de Ruiter 2023-08-02 19:30:40 +02:00
parent f4a4b59a14
commit ae5c27f3bb
3 changed files with 7 additions and 6 deletions

View file

@ -2,7 +2,7 @@
import bleach
def clean(input_text):
def clean(input_text: str) -> str:
"""Run through "bleach" """
return bleach.clean(
input_text,