Revert subtitle capitalization for AMA (added in 5.0.70)
https://forums.zotero.org/discussion/comment/337093/#Comment_337093
This commit is contained in:
parent
3af8f56c35
commit
f776156fbd
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue