diff --git a/app/utils.py b/app/utils.py index b7357e88..98433e93 100644 --- a/app/utils.py +++ b/app/utils.py @@ -332,6 +332,10 @@ def allowlist_html(html: str, a_target='_blank') -> str: re_embedded_mp3 = re.compile(r'') clean_html = re_embedded_mp3.sub(r'', clean_html) + # replace the 'static' for images hotlinked to fandom sites with 'vignette' + re_fandom_hotlink = re.compile(r'