From e66d71444101a01852e090705ce62eec85f93edf Mon Sep 17 00:00:00 2001 From: Kevo Date: Sat, 3 Sep 2022 17:32:47 +0200 Subject: [PATCH] Fix --- pyeditorjs/blocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyeditorjs/blocks.py b/pyeditorjs/blocks.py index 06fb6f6..d0521d2 100644 --- a/pyeditorjs/blocks.py +++ b/pyeditorjs/blocks.py @@ -8,7 +8,7 @@ class bleach: @staticmethod - def clean(text: str, tags: list=[], classes: list=[]): + def clean(text: str, tags: list=[], attributes: list=[]): warnings.warn("Requested sanitization, but `bleach` is not installed. Not sanitizing...", UserWarning) return text