mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -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
|
||||
def repl(match):
|
||||
return match.group(1).replace(" ", " ") + " "
|
||||
|
||||
token = re.sub(" ( +)", repl, token)
|
||||
processed.append(token)
|
||||
|
||||
|
|
Loading…
Reference in a new issue