Bugzilla – Bug 105
Make entities not get parsed between 'comments' in RCDATA elements.
Last modified: 2008-03-13 16:21:39 CET
Index: source =================================================================== --- source (revision 1293) +++ source (revision 1294) @@ -35301,9 +35301,7 @@ span</span>.</p> <p>An <dfn title="syntax-escape">escaping text span</dfn> is a span - of <span title="syntax-text">text</span> (in CDATA and RCDATA - elements) and <span title="syntax-entities">character entity - references</span> (in RCDATA elements) that starts with an <span + of <span title="syntax-text">text</span> that starts with an <span title="syntax-escape-start">escaping text span start</span> that is not itself in an <span title="syntax-escape">escaping text span</span>, and ends at the next <span @@ -36227,8 +36225,8 @@ <dt>U+0026 AMPERSAND (&)</dt> <dd>When the <span>content model flag</span> is set to one of the - PCDATA or RCDATA states: switch to the <span>entity data - state</span>.</dd> + PCDATA or RCDATA states and the <span>escape flag</span> is + false: switch to the <span>entity data state</span>.</dd> <dd>Otherwise: treat it as per the "anything else" entry below.</dd> <dt>U+002D HYPHEN-MINUS (-)</dt>