Skip to content
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

Unclear: Character References for Control Characters #474

Closed
fiveop opened this issue May 9, 2017 · 7 comments
Closed

Unclear: Character References for Control Characters #474

fiveop opened this issue May 9, 2017 · 7 comments
Milestone

Comments

@fiveop
Copy link
Contributor

fiveop commented May 9, 2017

I would have expected, that 
 should be handled like an escaped line feed character. However, the implemention used by the dingus basically ignores it.

I cannot find text in the specification supporting either my assumption nor the exhibited behaviour.

@jgm
Copy link
Member

jgm commented May 9, 2017

It is treated exactly like an unescaped line feed character, per the spec.

All valid HTML entity references and numeric character references, except those occuring in code blocks and code spans, are recognized as such and treated as equivalent to the corresponding Unicode characters.

@fiveop
Copy link
Contributor Author

fiveop commented May 9, 2017

Thank you and sorry.

@fiveop fiveop closed this as completed May 9, 2017
@fiveop
Copy link
Contributor Author

fiveop commented May 30, 2017

I reopen this issue, because I cannot reconcile Example 475 with HTML entity references being treated like unescaped characters:

[link](/url "title \""")

The entity reference occurs in the context of a link title and not plain text. Why are entity references lumped in with escaped characters in one case and with unescaped ones in the other?

@fiveop fiveop reopened this May 30, 2017
@aidantwoods
Copy link
Contributor

@jgm

It is treated exactly like an unescaped line feed character, per the spec.

Surely you mean an escaped or literal character. Otherwise, why isn't this a blockquote?

> hello

@mgeier
Copy link
Contributor

mgeier commented May 30, 2017

I'm not sure, but this is probably related to my question When exactly should numeric character references be replaced?.

@jgm
Copy link
Member

jgm commented Aug 25, 2018

Perhaps we need to clarify this in the spec.

@mgeier
Copy link
Contributor

mgeier commented Apr 7, 2019

@jgm I like your update to the spec, but I think there is still information missing, which I'm trying to add in #572.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants