mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
when a cloze has a hint, don't show dots
This commit is contained in:
parent
fa7536ca36
commit
7747bdca28
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class Template(object):
|
||||||
# replace chosen cloze with type
|
# replace chosen cloze with type
|
||||||
if type == "q":
|
if type == "q":
|
||||||
if m.group(3):
|
if m.group(3):
|
||||||
return "<span class=cloze>[%s...]</span>" % m.group(3)
|
return "<span class=cloze>[%s]</span>" % m.group(3)
|
||||||
else:
|
else:
|
||||||
return "<span class=cloze>[...]</span>"
|
return "<span class=cloze>[...]</span>"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue