From: Sergey Vladimirov Date: Mon, 11 Jul 2011 08:14:30 +0000 (+0000) Subject: fix CSS error in word-to-html X-Git-Tag: REL_3_8_BETA4~220 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b691e6a5308676500df7613da41e5b16644bd3df;p=poi.git fix CSS error in word-to-html git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145061 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java index 598def658a..597704670b 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java @@ -122,12 +122,12 @@ public class WordToHtmlUtils extends AbstractWordUtils if ( isEmpty( fontFamily ) ) return; - style.append( "font-family: " + fontFamily ); + style.append( "font-family: " + fontFamily + "; " ); } public static void addFontSize( final int fontSize, StringBuilder style ) { - style.append( "font-size: " + fontSize ); + style.append( "font-size: " + fontSize + "; " ); } public static void addIndent( Paragraph paragraph, StringBuilder style )