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
The same HTML code produces different results depending on whether I use Html.fromElement or Html.
There are quite a few discrepancies, but the most easily described is that <ol> tags no longer increment correctly. When using Html.fromElement, all list items are prepended with "0." Using the same HTML code (obtained via element.outerHtml) but with the Html() constructor, lists appear correctly.
HTML to reproduce the issue:
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
Expected behavior:
An ordered list should enumerate correctly regardless of whether the HTML was pre-parsed.
Screenshots:
Device details and Flutter/Dart/flutter_html versions:
Describe the bug:
The same HTML code produces different results depending on whether I use
Html.fromElement
orHtml
.There are quite a few discrepancies, but the most easily described is that
<ol>
tags no longer increment correctly. When usingHtml.fromElement
, all list items are prepended with "0." Using the same HTML code (obtained viaelement.outerHtml
) but with theHtml()
constructor, lists appear correctly.HTML to reproduce the issue:
Expected behavior:
An ordered list should enumerate correctly regardless of whether the HTML was pre-parsed.
Screenshots:
Device details and Flutter/Dart/
flutter_html
versions:flutter_html version: 3.0.0-beta2
Device: iOS Simulator & iPad Pro
A picture of a cute animal (not mandatory but encouraged)
The text was updated successfully, but these errors were encountered: