HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2363

File a bug

SVNBugCommentTime (UTC)
2363[Gecko] [Internet Explorer] [Opera] [Webkit] [Tools] 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)2008-10-24 07:21
Index: source
===================================================================
--- source	(revision 2362)
+++ source	(revision 2363)
@@ -56985,14 +56985,15 @@
   purposes of the algorithm above) consists of replacing any
   occurrences of the "<code title="">&amp;</code>" character by the
   string "<code title="">&amp;amp;</code>", any occurrences of the
-  "<code title="">&lt;</code>" character by the string "<code
+  U+00A0 NO-BREAK SPACE character by the string "<code
+  title="">&amp;nbsp;</code>", and, if the algorithm was invoked in
+  the <i>attribute mode</i>, any occurrences of the "<code
+  title="">&quot;</code>" character by the string "<code
+  title="">&amp;quot;</code>", or if it was not, any occurrences of
+  the "<code title="">&lt;</code>" character by the string "<code
   title="">&amp;lt;</code>", any occurrences of the "<code
   title="">&gt;</code>" character by the string "<code
-  title="">&amp;gt;</code>", any occurrences of the U+00A0 NO-BREAK
-  SPACE character by the string "<code title="">&amp;nbsp;</code>",
-  and, if the algorithm was invoked in the <i>attribute mode</i>, any
-  occurrences of the "<code title="">&quot;</code>" character by the
-  string "<code title="">&amp;quot;</code>".</p>
+  title="">&amp;gt;</code>".</p>
 
   <p class="note">Entity reference nodes are <a
   href="#entity-references">assumed to be expanded</a> by the user

|