henkan 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2856,15 +2856,15 @@ function generateAnkiNotesFile(list, defaultNoteInfo) {
|
|
|
2856
2856
|
if (typeof defaultNoteInfo.deckPath === "string" && result.deckPath === void 0)
|
|
2857
2857
|
result.deckPath = defaultNoteInfo.deckPath;
|
|
2858
2858
|
if (!hasHeader.guid && result.noteID) {
|
|
2859
|
-
headers.push(`${noteHeaderKeys.guid}
|
|
2859
|
+
headers.push(`${noteHeaderKeys.guid}${++headerCount}`);
|
|
2860
2860
|
hasHeader.guid = true;
|
|
2861
2861
|
}
|
|
2862
2862
|
if (!hasHeader.noteType && result.noteTypeName) {
|
|
2863
|
-
headers.push(`${noteHeaderKeys.notetype}
|
|
2863
|
+
headers.push(`${noteHeaderKeys.notetype}${++headerCount}`);
|
|
2864
2864
|
hasHeader.noteType = true;
|
|
2865
2865
|
}
|
|
2866
2866
|
if (!hasHeader.deckPath && result.deckPath) {
|
|
2867
|
-
headers.push(`${noteHeaderKeys.deck}
|
|
2867
|
+
headers.push(`${noteHeaderKeys.deck}${++headerCount}`);
|
|
2868
2868
|
hasHeader.deckPath = true;
|
|
2869
2869
|
}
|
|
2870
2870
|
const note = generateAnkiNote(result);
|