diff --git a/src/main/java/writer2latex/xhtml/style/StyleParser.java b/src/main/java/writer2latex/xhtml/style/StyleParser.java index c50fea6..7ccf724 100644 --- a/src/main/java/writer2latex/xhtml/style/StyleParser.java +++ b/src/main/java/writer2latex/xhtml/style/StyleParser.java @@ -207,8 +207,11 @@ public class StyleParser extends Parser { // Apply properties to body if (!props.isEmpty()) { - buf.append(sIndent) - .append("body {").append(props.toString()).append("}").append(config.prettyPrint() ? "\n" : " "); + buf.append(sIndent); + buf.append("body {"); + buf.append(props.toString()); + buf.append("}"); + buf.append(config.prettyPrint() ? "\n" : " "); } } }