Skip to content

[BUG] Simple HTML is not showing properly since version 3.0.0 #1487

Open
@giordy16

Description

@giordy16

Describe the bug:
Simple HTML is not showing properly since version 3.0.0. In version 3.0.0-beta.2 was warning perfectly.

HTML to reproduce the issue:
<p><center><h2>Data privacy notice</h2></center>This app enables the documentation of XXXXXXXXXXXX.<br/><br/>Please note that this is not permitted:<ul><li>Taking pictures of employees or other persons<br/></li><li>Describing employees or others by their names or other personal data in texts<br/></li></ul></p><br/><hr /><center><h2>App support</h2></center><p><br/>If you need help or have any questions please contact your local key user.<br/><br/>In case of problems with the app please contact the support team. You can reach us via <br/>phone (+XXXXXXXXX).<br/><br/><I>– XXXXXXXXXXX</I></p>

Html widget configuration:

  @override
  Widget build(BuildContext context) {
    var texts = GetIt.I<Texts>();
    return Scaffold(
      appBar: AppBar(
          title: Text(
              texts.text("mc_initial_warning_title", fallback: "Important!"))),
      body: Html(data: forcedHtml),
    );
  }

Expected behavior:

Version 3.0.0-beta.2

Image

Screenshots:

Version 3.0.0

Image

Device details and Flutter/Dart/flutter_html versions:
Error happens in all devices

Stacktrace/Logcat
No Exception is thrown

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