From a0579b40e0684f251c7ebcc9ee6513bace116cbf Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 3 Sep 2022 05:39:35 +0200 Subject: [PATCH] restore metadata for audio --- files/helpers/sanitize.py | 2 +- files/templates/submission.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 58a17ee54..21a7c4961 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 b98bb763a..22f2c243c 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -774,7 +774,7 @@ {% elif p.is_audio %}
- +