escape ~ char for type_keys

This commit is contained in:
Oliver Hartmann 2021-05-11 22:39:21 +02:00
parent c8c108c695
commit dd629816d8

View File

@ -23,6 +23,7 @@ def escape_mods(text: str) -> str:
text = text.replace('^', '{^}')
text = text.replace('(', '{(}')
text = text.replace(')', '{)}')
text = text.replace('~', '{~}')
return text