escape ~ char for type_keys
This commit is contained in:
parent
c8c108c695
commit
dd629816d8
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user