diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py
index 65be0a660a..a19637df08 100644
--- a/files/helpers/sanitize.py
+++ b/files/helpers/sanitize.py
@@ -10,6 +10,8 @@ from json import loads, dump
from random import random, choice
import signal
import time
+from urllib.parse import ParseResult, urlunparse, urlparse
+
allowed_tags = tags = ['b',
'blockquote',
@@ -115,7 +117,13 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
sanitized = strikethrough_regex.sub(r'\1', sanitized)
- sanitized = sanitized.replace("\ufeff", "").replace("𒐪","").replace("
{% if v %}
-
+
{% if v.agendaposter %}
-
+
{% endif %}
diff --git a/files/templates/gif_modal.html b/files/templates/gif_modal.html
index e321b0e6cb..a4d0b3d10a 100644
--- a/files/templates/gif_modal.html
+++ b/files/templates/gif_modal.html
@@ -1,5 +1,5 @@