escape ~ char for type_keys
This commit is contained in:
@@ -23,6 +23,7 @@ def escape_mods(text: str) -> str:
|
|||||||
text = text.replace('^', '{^}')
|
text = text.replace('^', '{^}')
|
||||||
text = text.replace('(', '{(}')
|
text = text.replace('(', '{(}')
|
||||||
text = text.replace(')', '{)}')
|
text = text.replace(')', '{)}')
|
||||||
|
text = text.replace('~', '{~}')
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user