From 14b384b1159a19c19960247501905225461c84f2 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Wed, 29 Jan 2020 13:45:21 +0100 Subject: [PATCH] Refactoring --- src/main/java/writer2latex/xhtml/style/StyleParser.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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" : " "); } } }