]> source.dussan.org Git - poi.git/commitdiff
nicer HTML for endnotes in Word-to-HTML converter
authorSergey Vladimirov <sergey@apache.org>
Thu, 21 Jul 2011 04:26:38 +0000 (04:26 +0000)
committerSergey Vladimirov <sergey@apache.org>
Thu, 21 Jul 2011 04:26:38 +0000 (04:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149036 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java

index 3fff0aa4bc8be31b3c24c15f833aebe61911ab1c..7d3b3f81d9729d316e65c2f30850fcf40492ab03 100644 (file)
@@ -439,6 +439,7 @@ public class WordToHtmlConverter extends AbstractWordConverter
         bookmark.setAttribute( "class", textIndexClass + " " + type
                 + "noteindex" );
         note.appendChild( bookmark );
+        note.appendChild( htmlDocumentFacade.createText( " " ) );
 
         Element span = htmlDocumentFacade.getDocument().createElement( "span" );
         span.setAttribute( "class", type + "notetext" );