From 3faf28605d07e7bb40f3b6deca6c294894deda9a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 8 Dec 2021 00:44:23 +0200 Subject: [PATCH] fsdfds --- files/helpers/sanitize.py | 2 +- files/templates/submission.html | 2 +- files/templates/submission_listing.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 3abf47d7f0..419a818484 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -237,7 +237,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 i in re.finditer('

-
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index ef6b82058e..77cd584298 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -487,7 +487,7 @@ {% if p.url and p.url.lower().endswith('.mp4') %}
-