Adding line breaks via HTML insert does not work

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

@gutzeit,

We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-18967. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.