Upgrade citeproc-js to version 1.0.280
This commit is contained in:
parent
544c8a1fa7
commit
cb656c9456
1 changed files with 7 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue