notes-android
notes-android copied to clipboard
List item (asterisk) is added to the last line
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:
- Make a following note via the web UI or otherwise (must include an EOL before EOF):
* foo
* bar
- Open the note on Android (Plain edit)
- Modify
footofoofoo - 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
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