From bac75b84314ae9c0b30d3054e314be4be2ee61dc Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 28 Dec 2015 20:44:11 -0800 Subject: Minor improvements to entity section. --- spec.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index 2df28b3..e633e15 100644 --- a/spec.txt +++ b/spec.txt @@ -4957,14 +4957,12 @@ and raw HTML, 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 -an entity reference. HTML renderers may either escape Unicode -characters as entities or leave them as they are (however, `"`, -`&`, `<`, and `>` must always be rendered as entities). +an entity reference. [Entity references](@entity-references) consist of `&` + any of the valid HTML5 entity names + `;`. The -[following document](https://html.spec.whatwg.org/multipage/entities.json) -is used as an authoritative source of the valid entity +document +is used as an authoritative source for the valid entity references and their corresponding code points. . @@ -5033,7 +5031,7 @@ recognized as entity references either: . Entity and numeric character references are recognized in any -context besides code spans or code blocks, including raw HTML, +context besides code spans or code blocks or raw HTML, including URLs, [link title]s, and [fenced code block][] [info string]s: . -- cgit v1.2.3