mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-09 13:56:56 +00:00
[Bug?] Possible incorrect parsing in markdig #665
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nopeless on GitHub (Mar 18, 2024).
Somehow I found the bug in
Show-Markdownwhich lead me toPowershell/MarkdownRendererwhich lead me to herehttps://github.com/PowerShell/MarkdownRender/issues/24
I am not a consumer of markdig, but by the way the renderer works I highly suspect that the incorrect renders are from this library
Output on my terminal
@nopeless commented on GitHub (Mar 18, 2024):
if it's not an issue from this library let me know. I don't know how to test it
@MihaZupan commented on GitHub (Mar 18, 2024):
Markdig is working correctly here: https://babelmark.github.io/?text=1.+%5Blinks%5D(%23features)%0A2.+%60inline+code%60%0A3.+normal+text%0A4.+line%0A%0A-+%60also+happens+in+ul%60%0A-+line
This is likely a bug in Powershell/MarkdownRenderer, likely here
8be5371470/src/ListBlockRenderer.cs (L36)(rendering the inline without the block itself)