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
Noticed this while looking at the test samples in #839.
CommonMark spec states that a list item can begin with at most one blank line. Example 280 demonstrates this.
var result = Markdown.ToHtml("-\n\n foo");
The result is:
<ul> <li></li> </ul> <p>foo</p>
If one more empty item is added
var result = Markdown.ToHtml("-\n-\n\n foo");
Everything is as expected again:
<ul> <li></li> <li></li> </ul> <p>foo</p>
But if a blank line is inserted between the items:
var result = Markdown.ToHtml("-\n\n-\n\n foo");
The result is suddenly
<ul> <li></li> <li><p>foo</p></li> </ul>
Isn't this strange?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Noticed this while looking at the test samples in #839.
CommonMark spec states that a list item can begin with at most one blank line. Example 280 demonstrates this.
The result is:
If one more empty item is added
Everything is as expected again:
But if a blank line is inserted between the items:
The result is suddenly
Isn't this strange?
The text was updated successfully, but these errors were encountered: