1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

BibTeX Plugin: Force fieldnames to be lowercase

Fixes #5591
This commit is contained in:
jeremy@jermolene.com 2021-04-07 17:43:41 +01:00
parent e2d35751e2
commit 953fb9f237

View File

@ -39,7 +39,7 @@ exports["application/x-bibtex"] = function(text,fields) {
"bibtex-entry-type": entry.entryType
};
$tw.utils.each(entry.entryTags,function(value,name) {
fields["bibtex-" + name] = value;
fields["bibtex-" + name.toLowerCase()] = value;
});
results.push(fields);
});