Skip to content

[BUG]: HTML Tags not working for browsers running on windows device #1493

@tidu090

Description

@tidu090

Describe the bug:
HTML tags are not being applied when running the project on Windows devices. We tested the project across multiple Windows machines in Chrome, Edge, and Firefox, and the result remains the same.

HTML to reproduce the issue:

<b>This text is bold</b> <br>
<strong>This text is important!</strong> <br>
<i>This text is italic</i> <br>
<em>This text is emphasized</em> <br>
<small>This is some smaller text.</small> <br>
<p>Do not forget to buy <mark>milk</mark> today.</p>
<p>My favorite color is <del>blue</del> red.</p>
<p>My favorite color is <del>blue</del> <ins>red</ins>.</p>
<p>This is <sub>subscripted</sub> text.</p>
<p>This is <sup>superscripted</sup> text.</p>

Html widget configuration:

Html(
        data: htmlContent,
        extensions: [
          TableHtmlExtension(),
        ],
      ),

Expected behavior:
The tags should render for chrome, edge and firefox for windows devices, below screenshot I have attached which I am expecting
Image

Screenshots:
Current Behaviour
Image

Device details and Flutter/Dart/flutter_html versions:
Flutter 3.29.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision c236373904 (6 months ago) • 2025-03-13 16:17:06 -0400
Engine • revision 18b71d647a
Tools • Dart 3.7.2 • DevTools 2.42.3
flutter_html: 3.0.0

A picture of a cute animal (not mandatory but encouraged)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions