From 1e0aa85f6f1d046969de7017b502466a275d9475 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 23 Mar 2021 03:31:22 -0400 Subject: [PATCH] Fix disambiguation-related hang in citeproc-js This reverts the fix for https://github.com/Juris-M/citeproc-js/issues/171 to fix the hang in https://github.com/Juris-M/citeproc-js/issues/179 --- chrome/content/zotero/xpcom/citeproc.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js index 34020a9efd2..0ee6afae01e 100644 --- a/chrome/content/zotero/xpcom/citeproc.js +++ b/chrome/content/zotero/xpcom/citeproc.js @@ -23748,9 +23748,10 @@ CSL.Registry.NameReg = function (state) { } // A hack. Safe if the name object is used only here, for disambiguation purposes. - if (state.opt["demote-non-dropping-particle"] === "never" && nameobj["non-dropping-particle"] && nameobj["family"]) { + // TEMP: Disabled due to https://github.com/Juris-M/citeproc-js/issues/179 + /*if (state.opt["demote-non-dropping-particle"] === "never" && nameobj["non-dropping-particle"] && nameobj["family"]) { nameobj["family"] = nameobj["non-dropping-particle"] + " " + nameobj["family"]; - } + }*/ //CSL.debug("INS"); set_keys(this.state, "" + item_id, nameobj);