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

Clarify order of entity/numeric character references vs. delimiter runs #572

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5659,6 +5659,10 @@ with the following exceptions:
`*` in emphasis delimiters, bullet list markers, or thematic
breaks.

- Entity and numeric character references are replaced before
deciding whether a [delimiter run] can open and/or close
emphasis.

Conforming CommonMark parsers need not store information about
whether a particular character was represented in the source
using a Unicode character or an entity reference.
Expand Down Expand Up @@ -5799,6 +5803,16 @@ text in code spans and code blocks:
````````````````````````````````


Entity and numeric character references are replaced before deciding
whether a [delimiter run] can open and/or close emphasis.

```````````````````````````````` example
i*ii*i
.
<p>i<em>ii</em>i</p>
````````````````````````````````


Entity and numeric character references cannot be used
in place of symbols indicating structure in CommonMark
documents.
Expand Down