changeset 686 | a9e3b6050544 |
parent 678 | 28e04408c0c0 |
child 697 | f1c74335f4ba |
--- a/py/gadict_srs_anki.py Fri Nov 18 23:53:31 2016 +0200 +++ b/py/gadict_srs_anki.py Sat Nov 19 09:45:33 2016 +0200 @@ -380,6 +380,11 @@ buf.append(sense.pos) buf.append("</span>") have_ref = False + if sense.topic_list and len(sense.topic_list) > 0: + have_ref = True + buf.append(u" <span class='topic'>⌊") + buf.append(u", ".join(sense.topic_list)) + buf.append(u"⌉</span>") if sense.ant_list and len(sense.ant_list) > 0: have_ref = True buf.append(" <span class='ant'>ant: ")