-
-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
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
Character references in link definition labels #616
Comments
I agree that, to meet author expectation or intuition, character references of all kinds should be normalized in link labels (and elsewhere), especially since letter case is being ignored. Unfortunately, only a single implementation, Maruku, does it this way, although most CM-conformant parsers (and Pandoc) will happily convert any HTML entities to plain characters on output.
|
This might be related to #572. |
Btw, I think this should be true for character escapes too: [©]: a.com
[\!]: b.com
Both should link: [©], [!] Yields: Both should link: [©], [!] |
@jgm Is this something you agree with? I can create a PR to clarify the docs |
I don't think this needs clarification of the docs so much as a bug report against CommonMark.js. That said, every single Markdown implementation but one fails this test. |
There’s even example 318 of having them in link definition destinations and link definition titles.
But, the following does not resolve into a link:
I interpret the spec as saying that it should resolve, but then the dingus doesn’t.
This may be a bug for the dingus implementation, rather than the spec.
The text was updated successfully, but these errors were encountered: