Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Special characters break the allowDuplicate: false check #194

Open
jasonwilliams opened this issue Sep 14, 2020 · 0 comments
Open

Special characters break the allowDuplicate: false check #194

jasonwilliams opened this issue Sep 14, 2020 · 0 comments

Comments

@jasonwilliams
Copy link

Raised from: jasonwilliams/anki#13

We have some cards which have some syntax in their front.
For example ## What is >>> in JavaScript?

Before passing this to Anki (via addNotes) we convert the characters into html safe equivalents.
So What is <code>&gt;&gt;&gt;</code> in JavaScript?

For some reason this allows duplicates in our deck.
If i remove the 3 > i cannot add more than 1 card.

How does the duplicate check work? And is there a reason it fails when certain characters are added?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant