mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
strip tags before including on card (#505)
This commit is contained in:
parent
c67c932c64
commit
cee9b2efd9
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ where c.nid = n.id and c.id in %s group by nid""" % ids2str(cids)):
|
|||
model = self.models.get(data[2])
|
||||
for (name, (idx, conf)) in self.models.fieldMap(model).items():
|
||||
fields[name] = flist[idx]
|
||||
fields['Tags'] = data[5]
|
||||
fields['Tags'] = data[5].strip()
|
||||
fields['Type'] = model['name']
|
||||
fields['Deck'] = self.decks.name(data[3])
|
||||
if model['type'] == MODEL_STD:
|
||||
|
|
Loading…
Reference in a new issue