From 7aff731ff27f4c64fbf1919f198f4e301a674b26 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Thu, 21 Jul 2011 04:26:38 +0000 Subject: [PATCH] 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 --- .../src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java | 1 + 1 file changed, 1 insertion(+) 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" ); -- 2.39.5