-
-
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
example 31 is misplaced and unexplained #687
Comments
It's tricky to know what to say here so as not to be confusing. |
Indeed. One option would be to reverse the order the two statements and insert a third between them:
|
And, assuming example 31 were in the new middle section, another useful example would be something using an HTML entity that commonmark does not allow, such as |
I created PR #690 in case it is helpful. No worries if you'd rather do something different. |
In 0.30, examples 31-34 are introduced by:
and then examples 35-36 are introduced by:
But example 31 is an example of a context where entity and numeric character references are not recognized, namely raw HTML:
The two intros should probably be rewritten to list raw HTML as one of the exceptions:
and then example 31 should be moved after current example 36.
(The argument can be made that they are "recognized" by the eventual HTML parser reading the output, but they are not recognized by CommonMark, or else the output of example 31 would say
<a href="öö.html">
. Unless CommonMark is saying thatö
should be reescaped toö
in output, but that isn't done in examples 32-34.)The text was updated successfully, but these errors were encountered: