mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
don't fail if \n in cloze
This commit is contained in:
parent
89c9af7445
commit
fa57fd3ad9
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ from anki.hooks import runFilter
|
|||
from anki.template import furigana; furigana.install()
|
||||
from anki.template import hint; hint.install()
|
||||
|
||||
clozeReg = r"\{\{c%s::(.*?)(::(.*?))?\}\}"
|
||||
clozeReg = r"(?s)\{\{c%s::(.*?)(::(.*?))?\}\}"
|
||||
|
||||
modifiers = {}
|
||||
def modifier(symbol):
|
||||
|
|
Loading…
Reference in a new issue