formatting

This commit is contained in:
ANH 2020-07-24 09:00:34 +03:00
parent e122534ba4
commit da3761341e

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)