Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[giowt] (2) Don't escape '<' and '>' in attribute values, to handle h…
…ttp://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) git-svn-id: http://svn.whatwg.org/webapps@2363 340c8d12-0b0e-0410-8428-c7bf67bfef74
- Loading branch information
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 |