[html5] r2363 - [giowt] (2) Don't escape '<' and '>' in attribute values, to handle http://www.e [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Oct 24 00:21:22 PDT 2008


Author: ianh
Date: 2008-10-24 00:21:21 -0700 (Fri, 24 Oct 2008)
New Revision: 2363

Modified:
   index
   source
Log:
[giowt] (2) Don't escape '<' and '>' in attribute values, to handle http://www.expedia.com/pub/agent.dll?qscr=cars&itid=&itdx=&itty=&&ploc=&plo2=&flag=&subm=1&tovr=-1294637292&styp=1&locn=Denver&loid=&astr=&acty=&astt=&azip=&date1=10%2F24%2F2008&time1=660&date2=10%2F25%2F2008&time2=660&loc2=&loi2=&rdus=10&cark=1&kind=1&optn=1&vend=&fspeceq=1&rdct=1 (credit: sp)

Modified: index
===================================================================
--- index	2008-10-23 15:39:01 UTC (rev 2362)
+++ index	2008-10-24 07:21:21 UTC (rev 2363)
@@ -16,7 +16,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 23 October 2008</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 24 October 2008</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <dl><dt>Multiple-page version:</dt>
@@ -50145,11 +50145,9 @@
   purposes of the algorithm above) consists of replacing any
   occurrences of the "<code title="">&</code>" character by the
   string "<code title="">&amp;</code>", any occurrences of the
-  "<code title=""><</code>" character by the string "<code title="">&lt;</code>", any occurrences of the "<code title="">></code>" character by the string "<code title="">&gt;</code>", any occurrences of the U+00A0 NO-BREAK
-  SPACE character by the string "<code title="">&nbsp;</code>",
-  and, if the algorithm was invoked in the <i>attribute mode</i>, any
-  occurrences of the "<code title="">"</code>" character by the
-  string "<code title="">&quot;</code>".</p>
+  U+00A0 NO-BREAK SPACE character by the string "<code title="">&nbsp;</code>", and, if the algorithm was invoked in
+  the <i>attribute mode</i>, any occurrences of the "<code title="">"</code>" character by the string "<code title="">&quot;</code>", or if it was not, any occurrences of
+  the "<code title=""><</code>" character by the string "<code title="">&lt;</code>", any occurrences of the "<code title="">></code>" character by the string "<code title="">&gt;</code>".</p>
 
   <p class=note>Entity reference nodes are <a href=#entity-references>assumed to be expanded</a> by the user
   agent, and are therefore not covered in the algorithm above.</p>

Modified: source
===================================================================
--- source	2008-10-23 15:39:01 UTC (rev 2362)
+++ source	2008-10-24 07:21:21 UTC (rev 2363)
@@ -56985,14 +56985,15 @@
   purposes of the algorithm above) consists of replacing any
   occurrences of the "<code title="">&</code>" character by the
   string "<code title="">&amp;</code>", any occurrences of the
-  "<code title=""><</code>" character by the string "<code
+  U+00A0 NO-BREAK SPACE character by the string "<code
+  title="">&nbsp;</code>", and, if the algorithm was invoked in
+  the <i>attribute mode</i>, any occurrences of the "<code
+  title="">"</code>" character by the string "<code
+  title="">&quot;</code>", or if it was not, any occurrences of
+  the "<code title=""><</code>" character by the string "<code
   title="">&lt;</code>", any occurrences of the "<code
   title="">></code>" character by the string "<code
-  title="">&gt;</code>", any occurrences of the U+00A0 NO-BREAK
-  SPACE character by the string "<code title="">&nbsp;</code>",
-  and, if the algorithm was invoked in the <i>attribute mode</i>, any
-  occurrences of the "<code title="">"</code>" character by the
-  string "<code title="">&quot;</code>".</p>
+  title="">&gt;</code>".</p>
 
   <p class="note">Entity reference nodes are <a
   href="#entity-references">assumed to be expanded</a> by the user




More information about the Commit-Watchers mailing list