From c1b7d615bf3e9fcac9ace296b8f926a1274eb3cc Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 30 Dec 2015 12:19:55 -0800 Subject: 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. --- spec.txt | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index e809ae7..9c495ab 100644 --- a/spec.txt +++ b/spec.txt @@ -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 spans A [backtick string](@backtick-string) -- cgit v1.2.3