diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index da1a600b5..eb7c60641 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -319,8 +319,8 @@ def sanitize(sanitized, edit=False, limit_pings=0, showmore=True): sanitized = sanitized.replace(i.group(0), htmlsource) - sanitized = video_sub_regex.sub(r'\1', sanitized) - sanitized = audio_sub_regex.sub(r'\1', sanitized) + sanitized = video_sub_regex.sub(r'\1', sanitized) + sanitized = audio_sub_regex.sub(r'\1', sanitized) if not edit: for marsey in g.db.query(Marsey).filter(Marsey.name.in_(marseys_used)).all(): diff --git a/files/templates/formatting.html b/files/templates/formatting.html index bfbf99e92..d49be8bf1 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -79,7 +79,7 @@ Text 2 Video Files https://files.catbox.moe/v4om92.mp4 - + Emojis diff --git a/files/templates/submission.html b/files/templates/submission.html index 7a8cd60d5..6ab2438e0 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -765,7 +765,7 @@ {% elif p.is_video %}
-
@@ -774,7 +774,7 @@ {% elif p.is_audio %}
- +

diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html
index e048d76f1..97ba8540e 100644
--- a/files/templates/submission_listing.html
+++ b/files/templates/submission_listing.html
@@ -372,13 +372,13 @@
 		
{% elif p.is_video %}
-
{% elif p.is_audio %}
- +
{% elif p.is_youtube %}