From 3c3950adb013c1f9ec35e24bf3864933b3618578 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 20 Oct 2022 22:26:39 +0200 Subject: [PATCH] change video tags --- files/helpers/sanitize.py | 2 +- files/templates/formatting.html | 4 +++- files/templates/submission.html | 6 ++---- files/templates/submission_listing.html | 4 +--- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index c7c213ea1..a77e54764 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -337,7 +337,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys sanitized = sanitized.replace(i.group(0), htmlsource) - sanitized = video_sub_regex.sub(r'\1', sanitized) + sanitized = video_sub_regex.sub(r'\1', sanitized) sanitized = audio_sub_regex.sub(r'\1', sanitized) if count_marseys: diff --git a/files/templates/formatting.html b/files/templates/formatting.html index e71b463c0..1a9970fd0 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -79,7 +79,9 @@ Text 2 Video Files https://files.catbox.moe/v4om92.mp4 - + + + Emojis diff --git a/files/templates/submission.html b/files/templates/submission.html index 4a25f1158..507b0a2bf 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -762,16 +762,14 @@ {% elif p.is_video %}
- +

 							{% elif p.is_audio %}
 								
- +

diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html
index addae67fb..5e1327d5c 100644
--- a/files/templates/submission_listing.html
+++ b/files/templates/submission_listing.html
@@ -330,9 +330,7 @@
 		
 	{% elif p.is_video %}
 		
- +
{% elif p.is_audio %}