diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 21a7c4961..58a17ee54 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -320,7 +320,7 @@ 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 = 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/submission.html b/files/templates/submission.html index 22f2c243c..b98bb763a 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -774,7 +774,7 @@ {% elif p.is_audio %}
- +

diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html
index ab0d6eb4e..98cda8df8 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 %}