]> source.dussan.org Git - poi.git/commitdiff
fix CSS error in word-to-html
authorSergey Vladimirov <sergey@apache.org>
Mon, 11 Jul 2011 08:14:30 +0000 (08:14 +0000)
committerSergey Vladimirov <sergey@apache.org>
Mon, 11 Jul 2011 08:14:30 +0000 (08:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145061 13f79535-47bb-0310-9956-ffa450edef68

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

index 598def658a0281fd696719f0425eec7722a78416..597704670b4cb2aa3eb7615c42283547c49fbfec 100644 (file)
@@ -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 )