Skip to content

[BUG] empty <table> causes render bug #893

@bicklp

Description

@bicklp

Describe the bug:

When trying to display some html that has an empty table e.g. <table></table> there is a render error
Removing the empty table from the html fixes the error.

HTML to reproduce the issue:

<div><h2>Technical Information</h2><table></table><hr> - For assembling panels in kitchen or furniture production<br> - Dowel parts are used with cams to pull together standard thickness board panels to give a strong hidden fixing</div>

Html widget configuration:

Center( child: Html( data: widget.item.detail_description ?? '', ), ),

Screenshots:

image

Stacktrace/Logcat

The following assertion was thrown building LayoutBuilder: 'package:flutter_layout_grid/src/widgets/layout_grid.dart': Failed assertion: line 111 pos 12: 'columnSizes.isNotEmpty': is not true.

Thanks

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