formatting

This commit is contained in:
ANH 2020-07-24 09:00:34 +03:00
parent 3276cc2e5e
commit 3ad5c866b3

View file

@ -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)