Use unescaped "<sup>" in HTML output in citeproc-js

This commit is contained in:
Dan Stillman 2011-06-03 19:35:45 +00:00
parent 66e121a4ed
commit df10b726de

View File

@ -9214,7 +9214,7 @@ CSL.Output.Formats.prototype.html = {
.replace(" ", "&#160; ", "g") .replace(" ", "&#160; ", "g")
.replace(CSL.SUPERSCRIPTS_REGEXP, .replace(CSL.SUPERSCRIPTS_REGEXP,
function(aChar) { function(aChar) {
return "&#60;sup&#62;" + CSL.SUPERSCRIPTS[aChar] + "&#60;/sup&#62;"; return "<sup>" + CSL.SUPERSCRIPTS[aChar] + "</sup>";
}); });
}, },
"bibstart": "<div class=\"csl-bib-body\">\n", "bibstart": "<div class=\"csl-bib-body\">\n",