Skip to content

Hardbreak added in a markdown list item that is followed by a nested list item #8775

Description

@FesTGig

Nested bullet lists are displayed correctly while editing a page in Collectives, but after leaving edit mode and switching to the normal page view, excessive vertical spacing appears between nested list items.
The edit mode and the rendered view therefore look inconsistent.

To Reproduce
Steps to reproduce the behavior:

  1. Open a page in Collectives.
  2. Create a nested bullet list, for example:
  • Item 1
  • Item 2
    • Item 2.1
    • Item 2.2
      • Item 2.2.1
      • Item 2.2.2
  1. Save the page or leave edit mode.
  2. View the page in normal reading mode.

Expected behavior
The spacing between list items should remain identical (or at least very similar) to the editor view.
Nested lists should appear compact and preserve the visual hierarchy created in the editor.

Server details:

  • Collectives app version: 4.4.1
  • Nextcloud version: 33.0.5
  • PHP Version: 8.3
  • Database: [MariaDB 10.11.14

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
🏗️ In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions