From 953fb9f237ad78e409c03d4b29b9854d8abf6cdf Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Wed, 7 Apr 2021 17:43:41 +0100 Subject: [PATCH] BibTeX Plugin: Force fieldnames to be lowercase Fixes #5591 --- plugins/tiddlywiki/bibtex/deserializer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/bibtex/deserializer.js b/plugins/tiddlywiki/bibtex/deserializer.js index 60f314aa4..eb021f3a6 100644 --- a/plugins/tiddlywiki/bibtex/deserializer.js +++ b/plugins/tiddlywiki/bibtex/deserializer.js @@ -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); });