Skip to content

List item (asterisk) is added to the last line #1971

Open
@maranov

Description

@maranov

Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug
Opening a note containing a list (both ordered and unordered) followed by an empty line automatically adds a list item in place of the last line. If the item isn't manually removed, then it stays as part of the note.

To Reproduce
Steps to reproduce the behavior:

  1. Make a following note via the web UI or otherwise (must include an EOL before EOF):
* foo
* bar

  1. Open the note on Android (Plain edit)
  2. Modify foo to foofoo
  3. The note now contains an extra list item which (added one the note has been opened on Android):
* foofoo
* bar
* 

Expected behavior
The automatically-added list item should not be part of the note. I.e. not included in the text unless user actually adds some text to it.

Screenshots
Screenshot_20231229-134230

Smartphone (please complete the following information):

  • Nextcloud Notes-Version (android app): 4.1.0
  • F-Droid or Play Store: Play Store
  • Android-Version: 13
  • Device: Moto G73

Server

  • Nextcloud version: 28.0.1
  • Nextcloud Notes version (server app): 4.9.1

Stacktrace N/A

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