Description
Describe the bug:
When Using SelectableHTML on Flutter 3.0.5, html text with <ul>
or </li>
are skipped.
Steps to Reproduce
Create a widget based on SelectableHtml and ask it to display html data containing <ul>
and </li>
Actual results:
Text being displayed when using Html widget
But not displayed with SelectableHtml
Code Sample :
Semantics( label: 'My test', container: true, excludeSemantics: true, child: SelectableHtml( key: Key('myKey'), data: '<div>this is a sample text: <ul><li>first entry</li><li>first entry</li></ul></div>', ), ),
HTML to reproduce the issue:
- first entry
- first entry
Html
widget configuration:
Semantics( label: 'My test', container: true, excludeSemantics: true, child: SelectableHtml( key: Key('myKey'), data: '<div>this is a sample text: <ul><li>first entry</li><li>first entry</li></ul></div>', ), ),
Screenshots:
Device details and Flutter/Dart/flutter_html
versions:
flutter 3.0.5 and flutter_html 3.0.0-alpha3