Editable fields with HTML are getting reformatted and increasing font size

Stimulsoft Reports.NET discussion
Lech Kulikowski
Posts: 7729
Joined: Tue Mar 20, 2018 5:34 am

Re: Editable fields with HTML are getting reformatted and increasing font size

Post by Lech Kulikowski »

Hello,

The issue is fixed. Please check the next release build.

Thank you.
User avatar
midspace
Posts: 36
Joined: Tue Sep 10, 2013 12:20 am
Location: Melbourne, Australia

Re: Editable fields with HTML are getting reformatted and increasing font size

Post by midspace »

Lech Kulikowski wrote: Mon Mar 16, 2026 11:04 pm Hello,

The issue is fixed. Please check the next release build.

Thank you.
Thank you. I see the update is available:
https://www.stimulsoft.com/en/changes/r ... t/2026.1.7

When will the live demo site be updated?
It is still running 2026.1.6.4
https://designer.stimulsoft.com/

I'm seeing issues when exporting to .HTML format that I need to need to verify.
Max Shamanov
Posts: 1119
Joined: Tue Sep 07, 2021 10:11 am

Re: Editable fields with HTML are getting reformatted and increasing font size

Post by Max Shamanov »

Hello,

The demo site will be updated within the next few days.

Thank you.
Max Shamanov
Posts: 1119
Joined: Tue Sep 07, 2021 10:11 am

Re: Editable fields with HTML are getting reformatted and increasing font size

Post by Max Shamanov »

Hello,

The demo site has been updated.

Thank you.
User avatar
midspace
Posts: 36
Joined: Tue Sep 10, 2013 12:20 am
Location: Melbourne, Australia

Re: Editable fields with HTML are getting reformatted and increasing font size

Post by midspace »

Thank you.
I have been testing the 2026.1.7 release extensively internally.
We have an unusual issue related to the Editable HTML fields.

We are using Stimulsoft templates to generate email for customers. Part of our internal processing will take the finalized report, and export it to HTML.
Compiled Stimulsoft report.zip
(1.32 KiB) Downloaded 2 times
We have been using the following code to export to Html for email, which has been perfectly fine until now.

Code: Select all

                    var exportService = new StiHtmlExportService();
                    var serviceSettings = new StiHtmlExportSettings
                    {
                        ImageResolution = 300,
                        ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg,
                        ImageQuality = 0.75f, // 1.00 = 100%
                        RemoveEmptySpaceAtBottom = false,
                        UseEmbeddedImages = false,
                        ExportMode = StiHtmlExportMode.Table,
                        ExportBookmarksMode = StiHtmlExportBookmarksMode.ReportOnly
                    };
                    using (var fileStream = File.OpenWrite(exportFile))
                    {
                        exportService.ExportHtml(report, fileStream, serviceSettings);
                    }
I've been testing the report template which I have shared previously, with the HTML bullet point list.

We send the resultant html as an email.
We test with MS Outlook (Classic), which according to reports is still the most used email application in corporate enterprises.
In our Stimulsoft 2018 version, the emails appear as this:
Stimulsoft_2018_html_email.png
Stimulsoft_2018_html_email.png (16.75 KiB) Viewed 333 times
In the Stimulsoft 2026.1.7, the email appears as this:
Stimulsoft_2026_html_email.png
Stimulsoft_2026_html_email.png (16.17 KiB) Viewed 333 times
As you can see, something bad has happened to the left margins of the edited HTML field.
I should point out, if you load the html into a browser, it looks perfectly fine.
If you loaded the email from the 2026.1.7 into the online version of Outlook (OWA), it looks fine.

I look a closer look at the generated html that is generated by both versions:
Exported_html_for_email.zip
(3.34 KiB) Downloaded 2 times
What I am seeing generated by the 2026.1.7 version, is the following style added to the bullet list elements:

Code: Select all

padding-left:2.85em;text-indent:-2.85em;
Each bullet varies in size, but the padding-left is always a mirror of the text-indent. It seems nonsensical to add padding then remove it via indent.

I don't know if you (Stimulsoft) control this part of the code tightly enough to remove this, or if I should seek a third party solution.
Max Shamanov
Posts: 1119
Joined: Tue Sep 07, 2021 10:11 am

Re: Editable fields with HTML are getting reformatted and increasing font size

Post by Max Shamanov »

Hello.

We would need more time to get an answer for you.
We will let you know as soon as we have any results.

Thank you.
Post Reply