From f3578fbf1563c3a8c72a0e6e872c96014b49c7d6 Mon Sep 17 00:00:00 2001 From: Christopher Olah Date: Wed, 22 Mar 2017 16:07:01 -0700 Subject: [PATCH] fix bibtex field case issue --- components/bibliography.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bibliography.js b/components/bibliography.js index 8e49693..e45c7a1 100644 --- a/components/bibliography.js +++ b/components/bibliography.js @@ -17,7 +17,7 @@ export default function(dom, data) { (full, x, char) => char); val = val.replace(/{\\([a-zA-Z])}/g, (full, char) => char); - e.entryTags[k] = val; + e.entryTags[k.toLowerCase()] = val; } bibliography[e.citationKey] = e.entryTags; bibliography[e.citationKey].type = e.entryType;