You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Vignesh-Dart If you pass invalid HTML to an HTML renderer, of course it'll have unexpected results.
The code assumes an Ordered List (<ol>) for all List Item tags (<li>), but without a parent wrapping tag, it can't tell how many are in the list. '''<ol><li>One</li>\r\n<li>Two</li>\r\n<li>Three</li></ol>'''
Should give you
1. One
2. Two
3. Three
Or '''<ul><li>One</li>\r\n<li>Two</li>\r\n<li>Three</li></ul>'''
Should give you:
"0" is added in every list tag:
HTML to reproduce the issue:
var data1 = ''' <li>One</li>\r\n<li>Two</li>\r\n<li>Three</li> ''';
Html
widget configuration:Html( data: data1, style: { "html": Style( fontSize: FontSize(15.1), fontWeight: FontWeight.w500, ), }, ),
Expected behavior:
Remove "0" in every
<li>
tagScreenshots:
Versions:
flutter_html: ^3.0.0-beta.2
The text was updated successfully, but these errors were encountered: