W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

badly formed end tags

From: Adrian Lester <Adrian.Lester@openwave.com>
Date: Thu, 10 May 2001 12:49:17 +0100
To: <html-tidy@w3.org>
Message-ID: <002401c0d947$3e208d40$00c2fea9@bfs.phone.com>

I got some unexpected output from Tidy today when I a html document had an
endtag containing a carriage return, i.e
<center> Some text centered on the web page </

I can understand why Tidy produced this...

<center> Some text centered on the web page &lt;/

Viewing the non-tidied source in I.E. rendered what the web programmer
wanted displayed.

Would it be a major piece of work to get tidy to recognise whitespace within
tags?  Is that valid HTML that Tidy should be trying to cope with, or is it
badly written HTML.

Adrian Lester
Received on Thursday, 10 May 2001 07:47:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:50 UTC