small fix

This commit is contained in:
Georgy Litvinov 2016-09-21 19:30:08 +03:00 committed by Georgy Litvinov
parent e1df6e693f
commit 10bb3caf0c

View file

@ -1613,6 +1613,7 @@ public class TextConverter extends ConverterHelper {
//Print new header //Print new header
addHeader(hnode); addHeader(hnode);
breakBeforeNextNode = false; breakBeforeNextNode = false;
return hnode;
} }
@ -1620,8 +1621,9 @@ public class TextConverter extends ConverterHelper {
if (checkHardBreakAfter(style)) { if (checkHardBreakAfter(style)) {
breakBeforeNextNode = true; breakBeforeNextNode = true;
return hnode;
} }
breakBeforeNextNode = false; breakBeforeNextNode = false;
return hnode; return hnode;
} }