allow spaces in babycode tag attrs

This commit is contained in:
2025-08-16 05:40:48 +03:00
parent 14b96bf37e
commit d0b702e1e8
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import re
PAT_EMOTE = r"[^\s:]"
PAT_BBCODE_TAG = r"\w"
PAT_BBCODE_ATTR = r"[^\s\]]"
PAT_BBCODE_ATTR = r"[^\]]"
PAT_LINK = r"https?:\/\/[\w\-_.?:\/=&~@#%]+[\w\-\/]"
class Parser: