forked from rDrama/rDrama
1
0
Fork 0
Aevann 2024-02-23 17:17:59 +02:00
parent bc9b5a18dc
commit 2be4b9dde7
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ def bleach_body_html(body_html, runtime=False):
filters=[
partial(
LinkifyFilter,
skip_tags=["pre"],
skip_tags=["pre","code"],
parse_email=False,
url_re=sanitize_url_regex
)

View File

@ -658,7 +658,7 @@ def filter_emojis_only(title, golden=True, count_emojis=False, obj=None, author=
filters=[
partial(
LinkifyFilter,
skip_tags=["pre"],
skip_tags=["pre","code"],
parse_email=False,
url_re=sanitize_url_regex
)