Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@prozolic
Copy link
Contributor

@prozolic prozolic commented Sep 6, 2025

This PR fixes the bug reported in issue #845.
With this fix, in the following case:

var result = Markdown.ToHtml("-\n\n-\n\n  foo");

This result will be produced:

<ul>
<li></li>
<li></li>
</ul>
<p>foo</p>

@xoofx
Copy link
Owner

xoofx commented Sep 7, 2025

Thanks for the fix! Could you add a unit test?

@xoofx xoofx added the bug label Sep 7, 2025
@prozolic
Copy link
Contributor Author

prozolic commented Sep 8, 2025

Ok, I added the test.

@xoofx xoofx merged commit 1b04599 into xoofx:master Sep 11, 2025
1 check passed
@prozolic prozolic deleted the pullreq branch September 11, 2025 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants