We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given this markdown:
- Item 1 - Item 2 - Item 3 - Item 4
If i convert this to HTML with the mdtohtml binary, the output is correctly:
<ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <li>Item 4</li> </ul>
But if i add an empty line to the list items, like this:
... all list items in the output are wrapped in <p> elements:
<p>
<ul> <li><p>Item 1</p></li> <li><p>Item 2</p></li> <li><p>Item 3</p></li> <li><p>Item 4</p></li> </ul>
The additional paragraph element makes the rendered list ugly, because the list item bullet is not in the same line as the list item text.
I would expect, that the empty line is ignored or that a new <ul> is started.
<ul>
Tested with github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386. It is reproducible in the mdtohtml binary and in the library.
github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given this markdown:
If i convert this to HTML with the mdtohtml binary, the output is correctly:
But if i add an empty line to the list items, like this:
... all list items in the output are wrapped in
<p>
elements:The additional paragraph element makes the rendered list ugly, because the list item bullet is not in the same line as the list item text.
I would expect, that the empty line is ignored or that a new
<ul>
is started.Tested with
github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386
. It is reproducible in the mdtohtml binary and in the library.The text was updated successfully, but these errors were encountered: