mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 13:17:12 -05:00
strip html in duplicate check (#906)
This commit is contained in:
parent
e7be6fd4be
commit
4d42282b7b
1 changed files with 1 additions and 0 deletions
|
|
@ -538,6 +538,7 @@ def findDupes(col, fieldName, search=""):
|
|||
if ord is None:
|
||||
continue
|
||||
val = flds[ord]
|
||||
val = stripHTMLMedia(val)
|
||||
# empty does not count as duplicate
|
||||
if not val:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue