commit 5b3a3a1ad2a901ff79c9d836a952c0e9d12d7f2c
parent ad5ac7ba641044765735eeaf8f02ab84a39c8b3f
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 15 Oct 2008 06:14:12 +0000
Fix missing space after formatted words in custom citations
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml
@@ -167,6 +167,7 @@
output = output.replace("</p>", "\\par ", "g");
output = output.replace(/<\/?div[^>]*>/g, "");
output = Zotero.Utilities.prototype.trim(output);
+ output = output.replace(" ", " ", "g");
output = Zotero.Utilities.prototype.unescapeHTML(output);
if(output.substr(-4) == "\\par") output = output.substr(0, output.length-4);
}