Skip to content

Vertical spacing incorrect for nested lists and lists with multi-paragraph items #3292

Description

@brainchild0

Description

If a list item comprises multiple paragraphs, or has children, then the vertical spacing between paragraphs or items within the list item should not exceed the vertical spacing between this parent item and other items at the same level.

Consider a Markdown document with the following contents:

Lorem ipsum: Est dolor quia dolorum est illum quasi aperiam autem. Magnam assumenda  hic accusantium dolores et quia culpa officia. Nisi architecto hic  repudiandae

1. One

1. Two

   Two and a half

   - Two and four sixths
   - Two and five sixths

1. Three

Note that extraneous content has been placed at the beginning, in order to work around the design issue reported in #2976, #2983, #3241, and #3246.

The below image shows the document as rendered by the application.


Image

Expected behavior

In contrast, a different application (Markor) renders the same document as shown below.

Many other applications render the document similarly, in terms of vertical spacing, in contrast to the rendering by Nexctcloud Notes for Android.

I feel strongly that the vertical spacing rendered by Markor is correct, whereas the spacing unfortunately is not correct as rendered by Nextcloud Notes for Android.


Image

Environment

  • Notes Android version: 34.0.0

  • Notes server version: n/a

  • Nextcloud Android version: 34.1.0

  • Nextcloud version: n/a

  • Device: Pixel 4

  • Android Version: 15

  • App Store: F-Droid

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions