Skip to content

Commit

Permalink
Fix disambiguation-related hang in citeproc-js
Browse files Browse the repository at this point in the history
This reverts the fix for
Juris-M/citeproc-js#171 to fix the hang in
Juris-M/citeproc-js#179
  • Loading branch information
dstillman committed Apr 15, 2021
1 parent b720874 commit 1e0aa85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chrome/content/zotero/xpcom/citeproc.js
Expand Up @@ -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);
Expand Down

0 comments on commit 1e0aa85

Please sign in to comment.