From f776156fbd8a204bd1b11501eeed45109300454e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 1 Aug 2019 17:26:27 -0400 Subject: [PATCH] Revert subtitle capitalization for AMA (added in 5.0.70) https://forums.zotero.org/discussion/comment/337093/#Comment_337093 --- chrome/content/zotero/xpcom/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/style.js b/chrome/content/zotero/xpcom/style.js index e9a5dd4e15..bc72e1b633 100644 --- a/chrome/content/zotero/xpcom/style.js +++ b/chrome/content/zotero/xpcom/style.js @@ -649,7 +649,7 @@ Zotero.Style = function (style, path) { this.locale = Zotero.Utilities.xpathText(doc, '/csl:style/@default-locale', Zotero.Styles.ns) || null; this._uppercaseSubtitles = false; - var uppercaseSubtitlesRE = /^apa($|-)|^(academy-of-management|american-medical-association)/; + var uppercaseSubtitlesRE = /^apa($|-)|^(academy-of-management)/; var shortIDMatches = this.styleID.match(/\/?([^/]+)$/); this._uppercaseSubtitles = !!shortIDMatches && uppercaseSubtitlesRE.test(shortIDMatches[1]); this._class = doc.documentElement.getAttribute("class");