diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index ead7cf741..49524a702 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -229,7 +229,7 @@ def sanitize(sanitized, noimages=False): sanitized = sanitized.replace(replacing, htmlsource) for i in re.finditer('
(https:.*?\.mp4)
', sanitized): - sanitized = sanitized.replace(i.group(0), f'') + sanitized = sanitized.replace(i.group(0), f'
') for rd in ["https://reddit.com/", "https://new.reddit.com/", "https://www.reddit.com/", "https://redd.it/"]: sanitized = sanitized.replace(rd, "https://old.reddit.com/") diff --git a/files/templates/formatting.html b/files/templates/formatting.html index 2acbd8dd9..ebce280cc 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -59,7 +59,7 @@ You can use Markdown formatting.