mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
formatting
This commit is contained in:
parent
e122534ba4
commit
da3761341e
1 changed files with 1 additions and 0 deletions
|
@ -1114,6 +1114,7 @@ class EditorWebView(AnkiWebView):
|
||||||
# use non-breaking spaces for the second one on
|
# use non-breaking spaces for the second one on
|
||||||
def repl(match):
|
def repl(match):
|
||||||
return match.group(1).replace(" ", " ") + " "
|
return match.group(1).replace(" ", " ") + " "
|
||||||
|
|
||||||
token = re.sub(" ( +)", repl, token)
|
token = re.sub(" ( +)", repl, token)
|
||||||
processed.append(token)
|
processed.append(token)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue