When exporting to word/PDF HTML styled text, make <br> tag to be parsed once

This commit is contained in:
George Kalampokis 2021-11-01 11:49:20 +02:00
parent 0010ad846a
commit 6ff9ea2d05
1 changed files with 3 additions and 1 deletions

View File

@ -170,7 +170,9 @@ public class HtmlToWorldBuilder implements NodeVisitor {
} }
break; break;
case "br": case "br":
this.run.addCarriageReturn(); if (stringBooleanEntry.getValue()) {
this.run.addCarriageReturn();
}
break; break;
} }
}); });