W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] <plaintext> causes unexpected EOF error

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 17 Jan 2007 00:00:54 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0701162356450.4611@dhalsim.dreamhost.com>
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 '&lt;'.

...(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.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 16 January 2007 16:00:54 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:51 UTC