Skip to content

[BUG] Start property for ordered list #1480

Open
@8uff3r

Description

@8uff3r

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

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