Merge pull request #88 from aurimasv/capTitle
capitalizeTitle - added additional dashes into regex
This commit is contained in:
commit
c9f456f2e9
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ Zotero.Utilities = {
|
|||
"down", "as"];
|
||||
|
||||
// this may only match a single character
|
||||
const delimiterRegexp = /([ \/\-–—])/;
|
||||
const delimiterRegexp = /([ \/\u002D\u00AD\u2010-\u2015\u2212\u2E3A\u2E3B])/;
|
||||
|
||||
string = this.trimInternal(string);
|
||||
string = string.replace(/ : /g, ": ");
|
||||
|
|
Loading…
Add table
Reference in a new issue