- From: poot <cvsmail@w3.org>
- Date: Fri, 24 Oct 2008 16:24:38 +0900 (JST)
- To: public-html-diffs@w3.org
Don't escape '<' and '>' in attribute values, to handle http://www.exped ia.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=&dat e1=10%2F24%2F2008&time1=660&date2=10%2F25%2F2008&time2=660&loc2=&loi2=&r dus=10&cark=1&kind=1&optn=1&vend=&fspeceq=1&rdct=1 (credit: sp) (whatwg r2363) Escaping a string http://people.w3.org/mike/diffs/html5/spec/Overview.1.1536.html#escapingString Editor's Draft 24 October 2008 http://people.w3.org/mike/diffs/html5/spec/Overview.1.1536.html#editor-s-draft-date-zzz-9-june-2008 A vocabulary and associated APIs for HTML and XHTML http://people.w3.org/mike/diffs/html5/spec/Overview.1.1536.html#a-vocabulary-and-associated-apis-for-html-and-xhtml Status of this document http://people.w3.org/mike/diffs/html5/spec/Overview.1.1536.html#status-of-this-document http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1535&r2=1.1536&f=h http://html5.org/tools/web-apps-tracker?from=2362&to=2363 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1535 retrieving revision 1.1536 diff -u -d -r1.1535 -r1.1536 --- Overview.html 23 Oct 2008 15:39:07 -0000 1.1535 +++ Overview.html 24 Oct 2008 07:21:26 -0000 1.1536 @@ -8,7 +8,7 @@ <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p> <h1>HTML 5</h1> <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->23 October 2008</h2> + <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->24 October 2008</h2> <dl><!-- ZZZ: update the month/day <dt>This Version:</dt> <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd> @@ -97,7 +97,7 @@ specification's progress along the W3C Recommendation track. <!--ZZZ:--> - This specification is the 23 October 2008 <!--ZZZ "Working Draft"-->Editor's Draft. + This specification is the 24 October 2008 <!--ZZZ "Working Draft"-->Editor's Draft. <!--:ZZZ--> </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of) @@ -40680,11 +40680,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 class=note>Entity reference nodes are <a href=#entity-references>assumed to be expanded</a> by the user + 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 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 class=note>It is possible that the output of this algorithm, if parsed with an <a href=#html-parser>HTML parser</a>, will not return the original tree structure. For instance, if a <code><a href=#the-textarea-element>textarea</a></code>
Received on Friday, 24 October 2008 07:25:19 UTC