From dbf19ed054b1b255b2520a5a3a830324e941262b Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 4 May 2026 00:28:02 +0200 Subject: [PATCH] Fixed missing tag subs --- RNS/Utilities/rngit/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RNS/Utilities/rngit/util.py b/RNS/Utilities/rngit/util.py index 2f39ea95..316abce5 100644 --- a/RNS/Utilities/rngit/util.py +++ b/RNS/Utilities/rngit/util.py @@ -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)