diff --git a/post_parser.py b/post_parser.py index 5a87300..77f8b15 100644 --- a/post_parser.py +++ b/post_parser.py @@ -317,6 +317,7 @@ class PostParser: html, tags=allowed_tags, attributes=allowed_attributes, + protocols=['http', 'https', 'tg'], css_sanitizer=css_sanitizer, strip=True, )