[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HTML syntax errors



On Fri, Jan 04, 2002 at 02:12:36PM +0100, Denis Barbier wrote:
> > > There is a single error in Bugs/index.en.html I didn't look into.
> > 
> > Actually, we should simply use a better validator :)
> > 
> > % tidy -eq index.en.html
> > [...]
> > line 122 column 4 - Warning: missing </small> before <ul>
> > line 123 column 7 - Warning: inserting implicit <small>
> > line 127 column 4 - Warning: missing </small> before <li>
> [...]
> 
> I disagree, tidy is not a validator ;)

Erm, okay, "syntax checker" :) It's from W3 too.

> And
>     find /foo -name \*.html | xargs tidy -eq
> is not very clear to my point of view.

Try this:

for i in *.html; do echo $i; tidy -eq $i 2>&1 | grep ^line; done | less

Works like a charm for me...

-- 
     2. That which causes joy or happiness.



Reply to: