From 6c8bcc0bda1ea7410dd321da7bd7ef380dadfe3a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 3 Jul 2022 10:00:42 +0200 Subject: [PATCH] fix long emojis --- files/helpers/regex.py | 4 ++-- files/templates/util/assetcache.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index 70b6f3129..c40c91059 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -45,8 +45,8 @@ strikethrough_regex = re.compile('(^|\s|>)~{1,2}([^~]+)~{1,2}', flags=re.A) mute_regex = re.compile("/mute @([a-z0-9_\-]{3,25}) ([0-9])+", flags=re.A) emoji_regex = re.compile(f"

\s*(:[!#@]{{0,3}}[{valid_username_chars}]+:\s*)+<\/p>", flags=re.A) -emoji_regex2 = re.compile(f'(?(.+?)<\/a>', flags=re.A) diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index 55a285079..a125784c8 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -22,7 +22,7 @@ set CACHE_VER = { 'js/emoji_modal.js': 297, 'js/formatting.js': 240, 'js/lottery.js': 256, - 'js/marked.js': 275, + 'js/marked.js': 276, 'js/submit.js': 265, 'js/userpage.js': 241, 'js/userpage_v.js': 245,