From 572167fe7dd8e08330b7931dc7ba0eeb0e9c0672 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 28 Apr 2008 19:14:11 +0000 Subject: [PATCH] Don't collapse whitespace in csledit/cslpreview --- chrome/content/zotero/tools/csledit.xul | 7 ++++--- chrome/content/zotero/tools/cslpreview.xul | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/chrome/content/zotero/tools/csledit.xul b/chrome/content/zotero/tools/csledit.xul index 02e56bdd4..5d3c72c86 100644 --- a/chrome/content/zotero/tools/csledit.xul +++ b/chrome/content/zotero/tools/csledit.xul @@ -132,9 +132,10 @@ // Generate bibliography var bibliography = '

Bibliography

' + csl.formatBibliography(itemSet, "HTML"); - iframe.contentDocument.documentElement.innerHTML = - citations + - multCitations + bibliography; + iframe.contentDocument.documentElement.innerHTML = + '
' + + citations + multCitations + bibliography + + '
'; } diff --git a/chrome/content/zotero/tools/cslpreview.xul b/chrome/content/zotero/tools/cslpreview.xul index 8333e5f5e..e4ce7b010 100644 --- a/chrome/content/zotero/tools/cslpreview.xul +++ b/chrome/content/zotero/tools/cslpreview.xul @@ -133,7 +133,8 @@ // Generate bibliography var bibliography = '

' + csl.formatBibliography(itemSet, "HTML"); - return citations + bibliography; + return '

' + + citations + bibliography + '
'; }