From a5bced5da1d45fbeca073125ec71c45bd6c8e15b Mon Sep 17 00:00:00 2001 From: robyngit Date: Tue, 15 Oct 2024 17:41:06 -0400 Subject: [PATCH] Don't parse author strings in CitationModel Fixes #2548, Related to #2106 --- src/js/models/CitationModel.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/js/models/CitationModel.js b/src/js/models/CitationModel.js index 64972136f..4c044d674 100644 --- a/src/js/models/CitationModel.js +++ b/src/js/models/CitationModel.js @@ -629,7 +629,11 @@ define(["jquery", "underscore", "backbone", "collections/Citations"], ( if (typeof author.toCSLJSON === "function") { author = author.toCSLJSON(); } else if (typeof author === "string") { - author = this.nameStrToCSLJSON(author); + // author = this.nameStrToCSLJSON(author); + + // It's too difficult to parse a string when it could be a name or + // an organization. Just return the string. See issue #2106 + author = { literal: author }; } return author;