You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
When entering a line beginning with a number, the next line is pre-populated with a number in an unintuitive manner.
To Reproduce
Steps to reproduce the behavior:
Open a note
Start a line of text which begins with a number, but is not a markdown list, e.g. "340g honey"
Type return to complete the line
See the next line contains a markdown list
Expected behavior
Since the text I entered doesn't contain markdown syntax, I'd expect the new line to be blank. Right now, it's pre-populated with the markdown for the next number, so typing (where <CR> is the keyboard return/enter:
340g honey<CR>
becomes:
340g honey
341.
This is even less intuitive if there isn't a non-numeric character in the first word:
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
When entering a line beginning with a number, the next line is pre-populated with a number in an unintuitive manner.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Since the text I entered doesn't contain markdown syntax, I'd expect the new line to be blank. Right now, it's pre-populated with the markdown for the next number, so typing (where <CR> is the keyboard return/enter:
becomes:
This is even less intuitive if there isn't a non-numeric character in the first word:
becomes:
It looks like the PATTERN_ORDERED_LIST_ITEM and PATTERN_ORDERED_LIST_ITEM_EMPTY in https://github.com/stefan-niedermann/nextcloud-commons/blob/master/markdown/src/main/java/it/niedermann/android/markdown/MarkdownUtil.java#L48 should be:
(note the escaped
.
character)Screenshots
Smartphone (please complete the following information):
Server
Stacktrace
The text was updated successfully, but these errors were encountered: