www

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

commit 65d8819fd093fd1e21cd85196a2c9eefc312b5b1
parent b9422b32e65d2ead496d09410059685d9c728f26
Author: Frank <biercenator@gmail.com>
Date:   Mon, 30 Jan 2012 21:47:35 +0800

Upgrade citeproc-js to version 1.0.272

Diffstat:
Mchrome/content/zotero/xpcom/citeproc.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js @@ -1989,7 +1989,7 @@ CSL.DateParser = function () { }; CSL.Engine = function (sys, style, lang, forceLang) { var attrs, langspec, localexml, locale; - this.processor_version = "1.0.271"; + this.processor_version = "1.0.272"; this.csl_version = "1.0"; this.sys = sys; this.sys.xml = new CSL.System.Xml.Parsing(); @@ -9290,6 +9290,7 @@ CSL.Util.Names.initializeWith = function (state, name, terminator, normalizeOnly namelist = namelist.replace(/\-/g, " "); } namelist = namelist.replace(/\s*\-\s*/g, "-").replace(/\s+/g, " "); + namelist = namelist.replace(/-([a-z])/g, "\u2013$1") mm = namelist.match(/[\-\s]+/g); lst = namelist.split(/[\-\s]+/); if (lst.length === 0) { @@ -9321,6 +9322,7 @@ CSL.Util.Names.initializeWith = function (state, name, terminator, normalizeOnly } else { ret = CSL.Util.Names.doInitialize(state, lst, terminator); } + ret = ret.replace(/\u2013([a-z])/g, "-$1") return ret; }; CSL.Util.Names.doNormalize = function (state, namelist, terminator, mode) {