when a cloze has a hint, don't show dots

This commit is contained in:
Damien Elmes 2012-10-23 13:04:13 +09:00
parent fa7536ca36
commit 7747bdca28

View file

@ -202,7 +202,7 @@ class Template(object):
# replace chosen cloze with type
if type == "q":
if m.group(3):
return "<span class=cloze>[%s...]</span>" % m.group(3)
return "<span class=cloze>[%s]</span>" % m.group(3)
else:
return "<span class=cloze>[...]</span>"
else: