Include alignment tags in strip_non_formatting_tags

This commit is contained in:
Mark Qvist
2026-05-21 03:19:46 +02:00
parent 7b63164947
commit 7315eb3edb
+3
View File
@@ -182,4 +182,7 @@ def strip_non_formatting_tags(text):
text = re.sub(r'`<', '', text)
text = re.sub(r'`>', '', text)
text = re.sub(r'`{', '', text)
text = re.sub(r'`r', '', text)
text = re.sub(r'`c', '', text)
text = re.sub(r'`l', '', text)
return text