Skip to content

[iOS]: lists parsing - empty list items are added to a neighboring list #505

@pkaramon

Description

@pkaramon

Describe the bug
Empty list items are added to a list where they should not be added.

To Reproduce
Steps to reproduce the behavior:

  1. Launch example app
  2. Set value to:
<html>
  <ul>
    <li>Test1</li>
    <li>Test2</li>
    <li></li>
    <li></li>
    <li></li>
  </ul>
  <ol>
    <li>Test1</li>
    <li>Test2</li>
  </ol>
</html>

Expected behavior
The ordered list should start with Test1 and Test2 list items without any empty list items at the front.

Screenshots

Screen.Recording.2026-04-01.at.13.21.34.mov

Device (please complete the following information):

  • Device: iPhone17
  • OS: iOS26.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions