Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the last item of a list missing <p></p> tag #427

Closed
ycrao opened this issue Sep 15, 2016 · 5 comments
Closed

the last item of a list missing <p></p> tag #427

ycrao opened this issue Sep 15, 2016 · 5 comments

Comments

@ycrao
Copy link

ycrao commented Sep 15, 2016

Welcome to the demo:

- Write Markdown text on the left

- Hit the __Parse__ button or `⌘ + Enter`

- See the result to on the right

will render like below

<p>Welcome to the demo:</p>
<li>
<p>Write Markdown text on the left</p>
</li>
<li>
<p>Hit the <strong>Parse</strong> button or <code>⌘ + Enter</code></p>
</li>
<li>See the result to on the right</li>
</ul>

the last item missing <p></p> tag.

Markdown PHP 1.3 render normal.

@kminchev
Copy link

That's not how it is parsed in http://parsedown.org/demo

@ycrao
Copy link
Author

ycrao commented Sep 15, 2016

@kminchev you can see this picture , red-mark part

image

@taufik-nurrohman
Copy link

@jamescridland
Copy link

jamescridland commented Feb 9, 2018

This bug is also visible at http://parsedown.org/tests/paragraph_list which shows the last list item not being surrounded by P tags.

@aidantwoods
Copy link
Collaborator

I think this is resolved by #475:
screen shot 2018-02-09 at 01 38 52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants