Some style is not rendered in HTML input

When I try to create a Workbook using an HTML input, the Italic style is not rendered.

    final String html = "<p><i>Some text</i></p>";
    final HTMLLoadOptions opts = new HTMLLoadOptions();
    final byte[] btsHtml = html.getBytes(StandardCharsets.UTF_8);
    final ByteArrayInputStream baisHtml = new ByteArrayInputStream(btsHtml);
    // Create workbook from HTML string
    final Workbook wb = new Workbook(baisHtml, opts);;

Kind regards,
Hugo Freixo


We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSJAVA-42797 - Some style is not rendered in HTML input


This is to inform you that we have fixed your issue (logged earlier as “CELLSJAVA-42797”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

The issues you have found earlier (filed as CELLSJAVA-42797) have been fixed in Aspose.Cells for Java 19.1. You can also get the latest Aspose.Cells for Java version from Maven repos. with simple configurations. Please see the document for your reference: Installation|Documentation

This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi