diff --git a/source/java/writer2latex/xhtml/TextConverter.java b/source/java/writer2latex/xhtml/TextConverter.java index af60387..008c348 100644 --- a/source/java/writer2latex/xhtml/TextConverter.java +++ b/source/java/writer2latex/xhtml/TextConverter.java @@ -1613,6 +1613,7 @@ public class TextConverter extends ConverterHelper { //Print new header addHeader(hnode); breakBeforeNextNode = false; + return hnode; } @@ -1620,8 +1621,9 @@ public class TextConverter extends ConverterHelper { if (checkHardBreakAfter(style)) { breakBeforeNextNode = true; + return hnode; - } + } breakBeforeNextNode = false; return hnode; }