[whatwg] <plaintext> causes unexpected EOF error

Ian Hickson ian at hixie.ch
Tue Jan 16 16:00:54 PST 2007


On Sun, 14 Jan 2007, Anne van Kesteren wrote:
>
> Since <plaintext> doesn't have a closing tag it causes an unexpected end 
> of file error (missing end tags). I think this is fine, but just wanted 
> to mention it in case this was overlooked.

More importantly, <plaintext> will cause an error along the lines of: 

  <plaintext> element is not a valid element in HTML5. You should use the
  <pre> element and escape '<' characters with '<'.

...(where the '<' character is only mentioned because the content has one 
-- it would mention '&' characters if there were any of those, too, etc.)

So any other bug -- like the missing EOF -- is quite minor. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list