author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 12 Nov 2016 12:39:02 +0200 | |
changeset 676 | e3266e096360 |
parent 675 | f3465e45b958 |
child 677 | e330e7f195b7 |
--- a/py/gadict_srs_anki.py Sat Nov 12 12:33:57 2016 +0200 +++ b/py/gadict_srs_anki.py Sat Nov 12 12:39:02 2016 +0200 @@ -210,7 +210,7 @@ tmpl = collection.models.newTemplate('From -> To') tmpl['qfmt'] = '<div class="from">{{From}}</div>' - tmpl['afmt'] = '{{FrontSide}}\n\n<hr id=answer>\n\n<div class="to">{{To}}</div>' + tmpl['afmt'] = '{{FrontSide}}<hr id=answer><div class="to">{{To}}</div>' collection.models.addTemplate(model, tmpl) # Equivalent of: