mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-05-25 20:44:45 +00:00
Include alignment tags in strip_non_formatting_tags
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user