Include alignment tags in strip_non_formatting_tags
parent
7b63164947
commit
7315eb3edb
|
|
@ -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
|
||||
Loading…
Reference in New Issue