Soft Linebreaks in Html Export

Hello,
my docx file contains a soft linebreak at the end of the first line, followed by a pagebreak in the second line:

image

When saving this docx as a PDF, the pagebreak from the second line remains:

image

When saving the same docx as an HTML, the linebreak vanishes:

image

Is this the expected behaviour? Are there any options to automatically add an additional <span>&nbsp;</span> at the end of a paragraph for each soft linebreak followed by a pagebreak?

Thank you in advance!

Best regards,

Katharina

Hi Katharina,

Please try again with this NuGet package:

Install-Package GemBox.Document -Version 2026.3.111

Does this solve your issue?

Regards,
Mario

Hello Mario,

yes, this patch fixes my issue. Thank you very much!

Regards,
Katharina