master
Aevann1 2021-09-30 23:17:56 +02:00
parent 4ed45c6cb7
commit dcdea41a1f
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ def sanitize(sanitized, noimages=False):
if start in sanitized and end in sanitized and start in sanitized.split(end)[0] and end in sanitized.split(start)[1]: sanitized = sanitized.replace(start, '<span class="spoiler">').replace(end, '</span>')
print(sanitized)
for i in re.finditer(r"^(\s+)?((:[\w]+:)+(\s+)?)+", sanitized):
for i in re.finditer("^(\s+)?((:[\w]+:)+(\s+)?)+", sanitized.replace("<p>", "").replace("</p>", "")):
print(i)
emojis = i.group(0).lower()
print(emojis)