fix strange "invalid quantifier" error in Fx4
This commit is contained in:
parent
90922843b0
commit
42edc63bf8
1 changed files with 1 additions and 1 deletions
|
@ -7497,7 +7497,7 @@ CSL.Output.Formats.prototype.text = {
|
|||
};
|
||||
CSL.Output.Formats.prototype.rtf = {
|
||||
"text_escape": function (text) {
|
||||
return text.replace("\\", "\\\\", "g").replace(/[\x7F-\uFFFF]/g,
|
||||
return text.replace(/\\/, "\\\\", "g").replace(/[\x7F-\uFFFF]/g,
|
||||
function(aChar) { return "\\uc0\\u"+aChar.charCodeAt(0).toString()+"{}" })
|
||||
.replace("\t", "\\tab{}", "g");
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue