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

List item (asterisk) is added to the last line

Open maranov opened this issue 2 years ago • 0 comments

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

maranov avatar Dec 29 '23 12:12 maranov