mirror of
https://github.com/zotero/zotero.git
synced 2026-09-20 00:12:49 +00:00
Fix multiple replacement in captializeTitles in Chrome/Safari
This commit is contained in:
parent
e37f4e3215
commit
b74cfb4a70
1 changed files with 1 additions and 1 deletions
|
|
@ -497,7 +497,7 @@ Zotero.Utilities = {
|
|||
const delimiterRegexp = /([ \/\-–—])/;
|
||||
|
||||
string = this.trimInternal(string);
|
||||
string = string.replace(" : ", ": ", "g");
|
||||
string = string.replace(/ : /g, ": ");
|
||||
if(!Zotero.Prefs.get('capitalizeTitles') && !force) return string;
|
||||
if(!string) return "";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue