Fixed Numbered list problem with Editor

Dadparvar

Well-known member
Affected version
2.1
Actually, I don't know what title to write. It may be wrong.

But here is the problem. I selected a part of the text in a post to Reply that, and it had 2 lines starting with 1. and 2.

But the result in my post was weird. I tested it a couple times and it happened.
  1. both numbers became 1
  2. in second line it added space at the beginning
  3. in my text, it added a numbered list with 1 at beginning and showed the text in the next line

Watch the video for more info.
View attachment 2018-11-13_16-01-11.mp4
 
This is related to Markdown parsing, and we've made a few changes now.

Notably, we don't try to do list conversions unless we find at least 2 list items in a row. This avoids some false positives and that would prevent the issue you ran into itself.

We've also fixed an issue that could lead to weird BB code because of something like the trailing [/quote]. We're able to detect this in the parsing and adjust the output.
 
Back
Top Bottom