This should cover more dashes. E.g. "DEANE-PETER BAKER" at http://onlinelibrary.wiley.com/doi/10.1111/j.1468-5930.2011.00548.x/abstract
This commit is contained in:
parent
b3f8330498
commit
6d723d7e8c
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