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.mjs
CHANGED
|
@@ -2793,15 +2793,15 @@ function generateAnkiNotesFile(list, defaultNoteInfo) {
|
|
|
2793
2793
|
if (typeof defaultNoteInfo.deckPath === "string" && result.deckPath === void 0)
|
|
2794
2794
|
result.deckPath = defaultNoteInfo.deckPath;
|
|
2795
2795
|
if (!hasHeader.guid && result.noteID) {
|
|
2796
|
-
headers.push(`${noteHeaderKeys.guid}
|
|
2796
|
+
headers.push(`${noteHeaderKeys.guid}${++headerCount}`);
|
|
2797
2797
|
hasHeader.guid = true;
|
|
2798
2798
|
}
|
|
2799
2799
|
if (!hasHeader.noteType && result.noteTypeName) {
|
|
2800
|
-
headers.push(`${noteHeaderKeys.notetype}
|
|
2800
|
+
headers.push(`${noteHeaderKeys.notetype}${++headerCount}`);
|
|
2801
2801
|
hasHeader.noteType = true;
|
|
2802
2802
|
}
|
|
2803
2803
|
if (!hasHeader.deckPath && result.deckPath) {
|
|
2804
|
-
headers.push(`${noteHeaderKeys.deck}
|
|
2804
|
+
headers.push(`${noteHeaderKeys.deck}${++headerCount}`);
|
|
2805
2805
|
hasHeader.deckPath = true;
|
|
2806
2806
|
}
|
|
2807
2807
|
const note = generateAnkiNote(result);
|