www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit c9f456f2e946f024d0c9a58389516dcff4f9532c
parent b4fc74dc938a0d259b5f5972a2b7e068f1284e56
Author: Simon Kornblith <simon@simonster.com>
Date:   Sat, 24 Mar 2012 17:58:50 -0700

Merge pull request #88 from aurimasv/capTitle

capitalizeTitle - added additional dashes into regex
Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -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, ": ");