Mixing unordered lists and ordered lists gets you a list that follows the first list element to decide if it is an ordered or unordered list on the preview, but on the resulting post, you get a sublist of the second type inside a list of the first type.

1. First line
1. Second line
- Third line

...is shown in the Preview as:

1. First line
2. Second line
3. Third line

...but after posting is rendered as:

  1. First line
  2. Second line
    • Third line
  • 2
    Damn, I don't have enough rep to understand this post!
    – Andy E
    May 19 '10 at 18:49
  • 1
    @Andy For your benefit, see S.Mark's script in a comment on this post, and my relevant comment (as a mediating step to reach the source) if you don't use Greasemonkey
    – Grace Note StaffMod
    May 19 '10 at 18:51
  • 1
    @Andy: in case the link doesn't work for you, I added a code block with the original contents.
    – perbert
    May 19 '10 at 18:54
  • @ccornet, @voyager. Thanks, I see it now. +1
    – Andy E
    May 19 '10 at 18:57
  • 2
  • @Andy, for any post, just using /posts/<id>/revisions will get you the revision "list" (including a link to "show source") even if there's only one revision and hence no clickable "edited xx ago" link is shown yet.
    – Arjan
    May 20 '10 at 18:12

We've changed the behavior of WMD to match the serverside Markdown; this will be fixed in the next build.


This "example" seems incredibly convoluted.

Where is this an actual issue in real posts with real content?

  • Hey I didn't say it made sense, just that it happens. I had made an unordered list, and wanted to change it into an ordered list. When I changed the first one, the preview magically changed the wole list. I went Oh great! Won't have to change every line! but then hit save and whent Oh crap! Will have to fix that nested list!
    – perbert
    May 20 '10 at 5:45
  • The example looks convoluted, but it's really just a numbered list with a nested bullet list (see meta.stackexchange.com/questions/39183/… or meta.stackexchange.com/questions/35340/…)
    – Alconja
    May 20 '10 at 5:48
  • Meanwhile I've rephrased the example -- the "Real: x. Preview: y. Result: z." were not intended to be some Markdown list syntax by themselves, like I thought after reading it a few times... ;-) (Indeed, duplicate question.)
    – Arjan
    May 20 '10 at 19:57
  • 3
    It’s not convoluted at all. I stumbled upon the bug when converting an unordered list to an ordered list and noticed (in the preview) that just changing the first item was sufficient. So I submitted the posting and had to edit afterwards. And since the whole point of the preview is (among others) that I don’t have to check my text afterwards, it was just luck that I spotted the botched formatting. So this is a usability issue. Jun 28 '10 at 18:13
  • I just hit this bug too - exactly in the same way as Konrad. Jul 29 '10 at 8:29

You must log in to answer this question.

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