From: Sergey Vladimirov Date: Thu, 21 Jul 2011 04:26:38 +0000 (+0000) Subject: nicer HTML for endnotes in Word-to-HTML converter X-Git-Tag: REL_3_8_BETA4~112 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7aff731ff27f4c64fbf1919f198f4e301a674b26;p=poi.git nicer HTML for endnotes in Word-to-HTML converter git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149036 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java index 3fff0aa4bc..7d3b3f81d9 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java @@ -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" );