Additional Blank Paragraphs Are Added when Importing the HTML String in Java

Hello,
I am just trying to convert HTML text to Rich text using addHtmlForm function and printing in to PPT slide, and its
working as expected.
However here the concern is the HTML text contains multiple space in between the paragaraph (added sample below),
and while we observed if one space then its printing two spaces to PPT, if two space in bethween the text/paragraph,
then three spaces are printing in to slide so on.

Space tag - <p><br></p>

Input as HTML:

<p>Header Text:</p><p><br></p><p>Sample text with one space.</p><p><br></p><p><br></p><p>Sample text with two spaces.</p><p>End Text</p>

Expected Result:

Header Text:

Sample text with one space.


Sample text with two spaces.
End Text

FYI.
OS - Windows 10
Aspose version - 22.7

Could you please help us to overcome this issue.
Quick suggestions will be greatly appreciated.
Thanks.
HTML_sample.docx (13.2 KB)

@ajaymoharana,
Thank you for contacting support.

I am working on the issue and will get back to you as soon as possible.

@ajaymoharana,
I’ve reproduced the problem you described when importing the HTML string to a PowerPoint presentation.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESJAVA-39338

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@andrey.potapov
Thanks for the quick response and considering this issue as priority.
FYI, we are using license version of Aspose Slide for our client project. Please let us know once the issue resolved, so that we can proceed further.

Thanks.

@ajaymoharana,
Our developers will do their best to resolve the issue. You will be notified when a release with a fix is published. Thank you for your patience.

The issues you found earlier (filed as SLIDESJAVA-39338) have been fixed in Aspose.Slides for Java 23.12 (JAR).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.