You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried creating a MD file with the following text:
# Test Deck
## What's the Markdown?
Markdown is a lightweight markup language with plain-text-formatting syntax.
Its design allows it to be converted to many output formats,
but the original tool by the same name only supports HTML.
## Who created Markdown?
John Gruber created the Markdown language in 2004 in collaboration with
Aaron Swartz on the syntax.
I copied the questions directly our of the README.md. The "What's the Markdown?" question gets duplicated every time I run Anki: Send to Deck.
A quick diff check of the default notes's deck's JSON files for the questions shows that the duplicated questions only differ in the "id" field.
A minimal repro of this bug can be found by using the following test deck:
## Test'
Answer
## Test
Answer
The first question "Test'" will be duplicated but the second question "Test" will not. It looks like the apostrophe throws off the duplicate check somewhere and causes it to be re-added every time the question set is added to Anki.
Inspecting the generated card JSON file, I suspect that this is because the apostrophe converts to ' which triggers FooSoft/anki-connect#194 but I haven't done any deeper dive into this yet.
The text was updated successfully, but these errors were encountered:
I tried creating a MD file with the following text:
I copied the questions directly our of the README.md. The "What's the Markdown?" question gets duplicated every time I run Anki: Send to Deck.
A quick diff check of the default notes's deck's JSON files for the questions shows that the duplicated questions only differ in the "id" field.
A minimal repro of this bug can be found by using the following test deck:
The first question "Test'" will be duplicated but the second question "Test" will not. It looks like the apostrophe throws off the duplicate check somewhere and causes it to be re-added every time the question set is added to Anki.
Inspecting the generated card JSON file, I suspect that this is because the apostrophe converts to ' which triggers FooSoft/anki-connect#194 but I haven't done any deeper dive into this yet.
The text was updated successfully, but these errors were encountered: