Hi,
inserting a line break (</br>
) via HTML insert does not work anymore since version 19.2 (also tested with version 19.7).
Steps to Reproduce:
Using the following code:
DocumentBuilder builder = new DocumentBuilder();
builder.write(“a”);
builder.insertHtml("</br>
");
builder.write(“b”);
builder.getDocument().save(“result.docx”);
Version 19.1 or older
The result is as expected.
a
b
Version 19.2 or newer
The inserted line break is missing.
ab
Best regards,
Ingo Gutzeit