diff options
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/keyboard/printer.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kvmd/keyboard/printer.py b/kvmd/keyboard/printer.py index 7261a8ef..a2003a18 100644 --- a/kvmd/keyboard/printer.py +++ b/kvmd/keyboard/printer.py @@ -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: |