Include alignment tags in strip_non_formatting_tags

master
Mark Qvist 2026-05-21 03:19:46 +02:00
parent 7b63164947
commit 7315eb3edb
1 changed files with 3 additions and 0 deletions

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