20

A few minutes ago I decided to edit this answer to reformat it into a tidy list instead of (a)... (b)... .

When I clicked on edit button it showed its raw source. As you can see there, that sentence has begun with "13. Benefits" (in either raw format and preview), but in real case it has begun with "1. Benefits".

What's this? A bug or a feature I'm not aware of?


Real:

enter image description here

Preview:

enter image description here

2
  • Some screenshots to clarify maybe? I've noticed, that e.g. horizontal bars aren't rendered correctly in preview recently. Also note that numbered lists are calculating the starting number independently of the actual number you give them in the markup. Commented Jun 8, 2015 at 19:00
  • 1
    Highly related, potentially dupe: meta.stackoverflow.com/questions/262322/… See also on MSE: meta.stackexchange.com/a/239121/266735 (Bascially, just edit that answer and it should fix the numbering.)
    – Kendra
    Commented Jun 8, 2015 at 19:01

1 Answer 1

47

Until recently, users weren't allowed to start an ordered list at some arbitrary number - the system would always force the number to start at 1. That change a little bit ago, and now users are allowed to start an ordered list at any number they'd like.

What you're seeing is an artifact of that change. The system permanently caches the rendered post until it is updated. In this case, it has a cache of raw text rendered under the old system where the list was forced to start at 1. When trying to edit it now without that restriction, the list is starting at 13 under the new rules of how the Markdown gets rendered, and the final output will change to 13 if you save an edit over it.

3

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .