flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

[BUG] Start property for ordered list

Open 8uff3r opened this issue 8 months ago • 0 comments

Describe the bug:

The issue #266 still exists, at least on Android, I haven't tested it on iOS, flutter_html still ignores the start attribute and always starts at 1.

HTML to reproduce the issue:

<ol start="4">
   <li>
      fourth
  </li>
   <li>
      fifth
   </li>
</ol>

Html widget configuration:

Html(
    data: """
        <ol start="4">
          <li>
              fourth
          </li>
          <li>
              fifth
          </li>
        </ol>
""",
)

Expected behavior:

The list ordering should start at the position in the start property, i.e. in the above snippet it should be 4,5 but now it is 1,2

Screenshots:

Image

A picture of a cute animal (not mandatory but encouraged)

Image

8uff3r avatar Apr 15 '25 19:04 8uff3r