diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-30 12:19:55 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-30 12:19:55 -0800 |
commit | c1b7d615bf3e9fcac9ace296b8f926a1274eb3cc (patch) | |
tree | 71308f1b0147b4ab7619db6cd9d9fb9086464019 | |
parent | 34e9e8eea70a8820305fe9f07d7f0a532afe6ff7 (diff) |
Removed misleading claim about entity references in raw HTML.
Entity references are not treated as literal text in
raw HTML; they are just passed through.
-rw-r--r-- | spec.txt | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -4960,8 +4960,8 @@ foo ## Entity and numeric character references All valid HTML entity references and numeric character -references, except those occuring in code blocks, code spans, -and raw HTML, are recognized as such and treated as equivalent to the +references, except those occuring in code blocks and code spans, +are recognized as such and treated as equivalent to the corresponding Unicode characters. Conforming CommonMark parsers need not store information about whether a particular character was represented in the source using a Unicode character or @@ -5039,7 +5039,7 @@ recognized as entity references either: . Entity and numeric character references are recognized in any -context besides code spans or code blocks or raw HTML, including +context besides code spans or code blocks, including URLs, [link title]s, and [fenced code block][] [info string]s: . @@ -5072,7 +5072,7 @@ foo . Entity and numeric character references are treated as literal -text in code spans and code blocks, and in raw HTML: +text in code spans and code blocks: . `föö` @@ -5087,12 +5087,6 @@ text in code spans and code blocks, and in raw HTML: </code></pre> . -. -<a href="föfö"/> -. -<a href="föfö"/> -. - ## Code spans A [backtick string](@backtick-string) |