diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 24cd65d11..526e11d64 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -323,8 +323,8 @@ 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 = audio_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: for marsey in g.db.query(Marsey).filter(Marsey.submitter_id==None, Marsey.name.in_(marseys_used)).all():