NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 105 - Make entities not get parsed between 'comments' in RCDATA elements.
Make entities not get parsed between 'comments' in RCDATA elements.
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 13:12 CET by Nobody
Modified: 2008-03-13 16:21 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-03-03 13:12:19 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 (&amp;)</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>