mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
Merge branch 'new_branch_name'
This commit is contained in:
commit
cc7ddca7d7
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class Template(object):
|
||||||
return "<span class=cloze>%s</span>" % m.group(1)
|
return "<span class=cloze>%s</span>" % m.group(1)
|
||||||
txt = re.sub(reg%ord, repl, txt)
|
txt = re.sub(reg%ord, repl, txt)
|
||||||
# and display other clozes normally
|
# and display other clozes normally
|
||||||
return re.sub(reg%".*?", "\\1", txt)
|
return re.sub(reg%"\d+", "\\1", txt)
|
||||||
|
|
||||||
@modifier('=')
|
@modifier('=')
|
||||||
def render_delimiter(self, tag_name=None, context=None):
|
def render_delimiter(self, tag_name=None, context=None):
|
||||||
|
|
Loading…
Reference in a new issue