Fix missing space after formatted words in custom citations

This commit is contained in:
Dan Stillman 2008-10-15 06:14:12 +00:00
parent ad5ac7ba64
commit 5b3a3a1ad2

View file

@ -167,6 +167,7 @@
output = output.replace("</p>", "\\par ", "g");
output = output.replace(/<\/?div[^>]*>/g, "");
output = Zotero.Utilities.prototype.trim(output);
output = output.replace(" ", "&nbsp;", "g");
output = Zotero.Utilities.prototype.unescapeHTML(output);
if(output.substr(-4) == "\\par") output = output.substr(0, output.length-4);
}