mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Failure to parse complex media links #684
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 @kunom on GitHub (Jun 7, 2024).
See this document here (it is synthetic data, not related to any real person):
Markdig fails to parse the link, returning a list of inline literals, even though I have the impression that
![]style links seem to be supported:On the other hand, http://textlint.github.io/markdown-to-ast/example/ does better:
@xoofx commented on GitHub (Jun 7, 2024):
As per the spec here, an URL link can be only:
And your URLs contains spaces, so I believe that it is most likely the problem.
Check also on babelmark here and you can see that it is failing for all CommonMark parsers and many Markdown implementations.