W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

Re: Tags lacking a terminating '>' are spotted

From: Richard A. O'Keefe <ok@atlas.otago.ac.nz>
Date: Thu, 14 Feb 2002 13:50:32 +1300 (NZDT)
Message-Id: <200202140050.NAA399674@atlas.otago.ac.nz>
To: html-tidy@w3.org
Liam Quinn <liam@htmlhelp.com> pointed out that people checking HTML
with nsgmls can use the -wmin-tag option on the nsgmls command line.

Many thanks for that, my scripts now do this.
Interestingly enough, the test cases I tried (real web pages) have
now convinced me that Tidy _shouldn't_ be made to clean up NET.
    <STYLE type=text/css>
This is in the "Hacker's Digest - Ten Things not to do if Arrested" page.
Given the prevalence of / in URIs and things like this, and the prevalence
of incorrectly omitted quotations marks (I've even seen pages generated by
well known commercial HTML editors where there are attribute names with
spaces in them...) it's obviously right that Tidy should treat / like a
letter and not like NET.

I therefore withdraw my remark that it would be nice if Tidy cleaned up
SHORTTAG stuff in general.

However, I _have_ run into <br<br> and the like in real pages, so it's
still a good idea to handle unclosed tags as well as possible.
Received on Wednesday, 13 February 2002 19:50:35 UTC

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