diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index a02052ca8..ff89d7e84 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -196,7 +196,7 @@ def sanitize(sanitized, noimages=False): if emoji.startswith("!"): emoji = emoji[1:] if path.isfile(f'./files/assets/images/emojis/{emoji}.webp'): - new = re.sub(f'\w*(?', new) + new = re.sub(f'\w*(?', new) elif path.isfile(f'./files/assets/images/emojis/{emoji}.webp'): new = re.sub(f'\w*(?', new) @@ -212,7 +212,7 @@ def sanitize(sanitized, noimages=False): if emoji.startswith("!"): emoji = emoji[1:] if path.isfile(f'./files/assets/images/emojis/{emoji}.webp'): - sanitized = re.sub(f'\w*(?', sanitized) + sanitized = re.sub(f'\w*(?', sanitized) elif path.isfile(f'./files/assets/images/emojis/{emoji}.webp'): sanitized = re.sub(f'\w*(?', sanitized) diff --git a/files/routes/posts.py b/files/routes/posts.py index 999f25a75..ba6d1f0be 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -382,7 +382,7 @@ def filter_title(title): if emoji.startswith("!"): emoji = emoji[1:] if path.isfile(f'./files/assets/images/emojis/{emoji}.webp'): - title = title.replace(f':!{emoji}:', f':!{emoji}:') + title = title.replace(f':!{emoji}:', f':!{emoji}:') elif path.isfile(f'./files/assets/images/emojis/{emoji}.webp'): title = title.replace(f':{emoji}:', f':{emoji}:') diff --git a/files/templates/default.html b/files/templates/default.html index a40db6a62..2b7f492bc 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -1,6 +1,12 @@ + + {% if v and v.agendaposter %} diff --git a/files/templates/formatting.html b/files/templates/formatting.html index 385085990..45695f232 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -60,7 +60,7 @@ On {{'SITE_NAME' | app_config}}, you can use Markdown formatting. Mirrored Emojis :!marseylove: - :!marseylove: + :!marseylove: Poll Options