From da3761341ed89a27e678a580167e86399f70b35d Mon Sep 17 00:00:00 2001 From: ANH Date: Fri, 24 Jul 2020 09:00:34 +0300 Subject: [PATCH] formatting --- qt/aqt/editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 7ac79bfe5..d4c65d553 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -1114,6 +1114,7 @@ class EditorWebView(AnkiWebView): # use non-breaking spaces for the second one on def repl(match): return match.group(1).replace(" ", " ") + " " + token = re.sub(" ( +)", repl, token) processed.append(token)