Anki: fixup for note template
This commit is contained in:
parent
966fa2ff75
commit
552185ffb4
@ -269,6 +269,14 @@ function optionsVersion(options) {
|
|||||||
}
|
}
|
||||||
options.general.compactTags = false;
|
options.general.compactTags = false;
|
||||||
options.general.compactGlossaries = false;
|
options.general.compactGlossaries = false;
|
||||||
|
if (options.anki.fieldTemplates !== optionsFieldTemplates()) {
|
||||||
|
options.anki.fieldTemplates = '{{#if merge}}\n' +
|
||||||
|
optionsFieldTemplates() +
|
||||||
|
'\n{{else}}\n' +
|
||||||
|
options.anki.fieldTemplates +
|
||||||
|
'\n{{/if}}';
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user