Skip to content

Codeblock, blockquote - inconsistent empty lines html between Android and iOS #545

@pkaramon

Description

@pkaramon

Describe the bug
Both iOS and Android output empty lines as <br> tags directly inside <html></html>. But they differ when it comes to <blockquote> and <codeblock>. iOS outputs <br> for empty lines, but Android outputs <p></p>.

To Reproduce
Steps to reproduce the behavior:

  1. Launch example app
  2. Create a blockquote & codeblock with empty lines on iOS and Android.
  3. Observe the difference

Expected behavior
Empty lines/paragraphs should probably be always represented as <br> since both platforms do that for empty lines directly in html tag.

Screenshots

Image

Device (please complete the following information):

  • Device: iPhone17, Pixel 9
  • OS: iOS 26.2, Android 16(API 36 "Baklava")

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