Upgrade citeproc-js to version 1.0.280

This commit is contained in:
Frank 2012-02-13 16:44:06 +08:00 committed by Simon Kornblith
parent 544c8a1fa7
commit cb656c9456

View file

@ -2133,7 +2133,7 @@ CSL.DateParser = function () {
};
CSL.Engine = function (sys, style, lang, forceLang) {
var attrs, langspec, localexml, locale;
this.processor_version = "1.0.279";
this.processor_version = "1.0.280";
this.csl_version = "1.0";
this.sys = sys;
this.sys.xml = new CSL.System.Xml.Parsing();
@ -10847,6 +10847,9 @@ CSL.Output.Formats.prototype.html = {
};
CSL.Output.Formats.prototype.text = {
"text_escape": function (text) {
if (!text) {
text = "";
}
return text;
},
"bibstart": "",
@ -10898,6 +10901,9 @@ CSL.Output.Formats.prototype.text = {
};
CSL.Output.Formats.prototype.rtf = {
"text_escape": function (text) {
if (!text) {
text = "";
}
return text
.replace(/([\\{}])/g, "\\$1", "g")
.replace(CSL.SUPERSCRIPTS_REGEXP,