Anki: fixup for note template

This commit is contained in:
siikamiika 2017-10-18 08:01:38 +03:00
parent 966fa2ff75
commit 552185ffb4

View File

@ -269,6 +269,14 @@ function optionsVersion(options) {
}
options.general.compactTags = 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}}';
}
}
];