addresses #854, Pages field is not parsed

matches en-dash for plural condition (still not reformatted)
This commit is contained in:
Simon Kornblith 2007-12-05 19:27:51 +00:00
parent b861656dec
commit ac16c00706

View File

@ -997,7 +997,7 @@ Zotero.CSL.prototype._processElements = function(item, element, formattedString,
}
if(term !== false && value) {
var isPlural = value.indexOf("-") != -1 || value.indexOf(",") != -1;
var isPlural = value.indexOf("-") != -1 || value.indexOf(",") != -1 || value.indexOf("\u2013") != -1;
var text = this._getTerm(term, isPlural, child.@form.toString(), child["@include-period"] == "true");
if(text) {