mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
uncorrect parsing result with very rare case #335
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 @kflili on GitHub (Oct 24, 2019).
Two cases:

Hello eudev@**microsoft.**com
Hello benefit of **$**225
Please the test link in below.
https://babelmark.github.io/?text=Hello+eudev%40microsoft.com%0A%0A+%0AHello+benefit+of+%24225
@xoofx commented on GitHub (Oct 24, 2019):
It is correct for all CommonMark implementations and part of the specifications.
@kflili commented on GitHub (Oct 24, 2019):
@xoofx Thanks for the reply. Does that mean it meet the markdown standard, and should render as such? Our user want to get parsing upper results, not the lower results in the screenshot.
Any work around for this special case?
Thanks very much!
@xoofx commented on GitHub (Oct 24, 2019):
Yes, it is the standard, so we can't change it. You can see also that on GitHub it is rendered like Markdig (because now GitHub is using a CommonMark compliant parser)
Hello eudev@**microsoft.**com
Hello benefit of **$**225
Apart developing a new emphasis parser by forking the default extension and replacing with your own, there is no easy workaround
@kflili commented on GitHub (Oct 24, 2019):
Thanks @xoofx for the clear answer!