Bugzilla – Bug 195
Try to fix the encoding sniffing algorithm...
Last modified: 2011-05-16 20:27:04 CEST
Index: source =================================================================== --- source (revision 1666) +++ source (revision 1667) @@ -39539,8 +39539,7 @@ <li><p>If the byte at <var title="">position</var> is <em>not</em> 0x3D (ASCII '='), abort the "get an attribute" - algorithm. Move <var title="">position</var> back to the previous - byte. The attribute's name is the value of <var + algorithm. The attribute's name is the value of <var title="">attribute name</var>, its value is the empty string.</p></li> @@ -39571,8 +39570,9 @@ byte.</li> <li>If the value of the byte at <var title="">position</var> - is the value of <var title="">b</var>, then abort the "get an - attribute" algorithm. The attribute's name is the value of + is the value of <var title="">b</var>, then advance <var + title="">position</var> to the next byte and abort the "get + an attribute" algorithm. The attribute's name is the value of <var title="">attribute name</var>, and its value is the value of <var title="">attribute value</var>.</li>