michelf / php-markdown

Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber.
http://michelf.ca/projects/php-markdown/
Other
3.43k stars 530 forks source link

broken (ordered?) list generation #161

Open bazo opened 10 years ago

bazo commented 10 years ago

following md generates the right markup with ol and lis

1. a
2. b
3. c

but if you add some text before it doesnt generate ol any more

some text before

1. a
2. b
3. c

then the html is

1. a<br><br>
2. b<br><br>
3. c<br><br>

but this md, makes event the list under the text to render as ol

1. a
2. b
3. c

some text here

1. a
2. b
3. c
michelf commented 10 years ago

I'm not sure how to replicate this bug. Everything seems to work fine on the Dingus.