mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
ed4c33fe4e
When option was enabled, `<br />` tags where being added wrongfully between `<li>` tags, which resulted in malformed html. This commit prevents this behavior. Closes #316
52 lines
469 B
Markdown
52 lines
469 B
Markdown
1. One
|
|
2. Two
|
|
- A
|
|
- B
|
|
3. Three
|
|
|
|
> this has
|
|
> simple linebreaks
|
|
|
|
testing
|
|
some
|
|
code
|
|
|
|
1. paragraphed list
|
|
|
|
this belongs
|
|
to the first list item
|
|
|
|
2. This text
|
|
also
|
|
|
|
simple
|
|
text
|
|
|
|
- a list
|
|
item
|
|
- another
|
|
list item
|
|
|
|
simple
|
|
text
|
|
|
|
- some item
|
|
|
|
another
|
|
paragraph
|
|
|
|
- And
|
|
now
|
|
|
|
paragraph
|
|
sublist
|
|
|
|
- and
|
|
even
|
|
|
|
another
|
|
one
|
|
|
|
- foo
|
|
|