notes-android icon indicating copy to clipboard operation
notes-android copied to clipboard

Preview mode adding extra blank line above lists nested inside "loose" lists

Open RussellAult opened this issue 1 year ago • 0 comments

Describe the bug If a note contains a loose list, and that list contains a nested list, an extra blank line will appear above the nested list in preview mode.

To Reproduce Steps to reproduce the behaviour:

  1. Create a new note in plain edit mode with the following contents:
Test

- one
  - two
    - three

- four
  1. Switch to preview mode, which will display the list with an extra blank line between "one" and "two" (which, in addition to not matching the CommonMark spec, is also counter-intuitive, since the blank line appears in a different place in preview mode than it does in edit mode)

Expected behaviour Test

  • one
    • two
      • three
  • four

Smartphone (please complete the following information):

  • Nextcloud Notes-Version (android app): 4.0.0
  • F-Droid or Play Store: F-Droid
  • Android-Version: 10
  • Device: Pixel 3a

Server

  • Nextcloud version: 25
  • Nextcloud Notes version (server app): 4.6.0

RussellAult avatar Jun 30 '23 22:06 RussellAult