workaround for en/em dashes

This commit is contained in:
Maxim Devaev 2022-09-20 21:06:23 +03:00
parent 66f09b16ac
commit 647489ecd9

View File

@ -50,6 +50,10 @@ def text_to_web_keys( # pylint: disable=too-many-branches
ch = "'"
elif ch in ["", "", ""]:
ch = "\""
elif ch == "": # Short
ch = "-"
elif ch == "": # Long
ch = "--"
if not ch.isprintable():
continue
try: