From 5b3a3a1ad2a901ff79c9d836a952c0e9d12d7f2c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 15 Oct 2008 06:14:12 +0000 Subject: [PATCH] Fix missing space after formatted words in custom citations --- chrome/content/zotero/bindings/styled-textbox.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml index 1475b117c..28756e2b3 100644 --- a/chrome/content/zotero/bindings/styled-textbox.xml +++ b/chrome/content/zotero/bindings/styled-textbox.xml @@ -167,6 +167,7 @@ output = output.replace("

", "\\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); }