mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
fix tag strip on export
we must make sure to include spaces around tags or they can't be found
This commit is contained in:
parent
fe2c94b819
commit
7dcf0d8ead
1 changed files with 1 additions and 3 deletions
|
@ -214,9 +214,7 @@ class AnkiExporter(Exporter):
|
|||
pass
|
||||
|
||||
def removeSystemTags(self, tags):
|
||||
tags = ' '.join(tag for tag in tags.split()
|
||||
if (tag.lower() != "marked" and tag.lower() != "leech"))
|
||||
return tags
|
||||
return self.src.tags.remFromStr("marked leech", tags)
|
||||
|
||||
# Packaged Anki decks
|
||||
######################################################################
|
||||
|
|
Loading…
Reference in a new issue