Fixed missing tag subs

This commit is contained in:
Mark Qvist
2026-05-04 00:28:02 +02:00
parent a1cff4e8ab
commit dbf19ed054
+2 -1
View File
@@ -548,7 +548,8 @@ class MarkdownToMicron:
def _visible_width(self, text):
text = re.sub(r'`[FB][0-9a-fA-F]{3}', '', text)
text = re.sub(r'`[!*_]', '', text)
text = re.sub(r'`[FB]T[0-9a-fA-F]{6}', '', text)
text = re.sub(r'`[!*_=]', '', text)
text = re.sub(r'`f`b', '', text)
text = re.sub(r'`f', '', text)
text = re.sub(r'`b', '', text)