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

Re: the -m switch (was: Bugs/suggestions)

From: Matthew Brealey <thelawnet@yahoo.com>
Date: Fri, 24 Mar 2000 11:45:46 -0600
To: html-tidy@w3.org
Message-ID: <OF8292644E.771C18C2-ON86256887.003D3D9C@rfdinc.com>

[Sorry about the double > - in order to reply to this I've had to
subscribe then send old messages to my self and finally reply them.
I didn't realise the list wouldn't let you post if you weren't subscribed
- I've never had any problems with any other W3C mailing lists]

Peter Evans wrote:
> > Just one (amateurish) comment on a couple of aspects of Matthew
> Brealey's list
> > of putative bugs.

I didn't say they were all bugs - I referred to bugs/suggestions.

The character reference stuff is certainly a bug.

> > I'm not sure whether or not this is a bug in Tidy.  Whether it is or
> isn't, my
> > mind boggles at the idea of somebody who's clearly no novice running a
> utility
> > whose results are as radical as Tidy's to overwrite a file without
> first making
> > a backup.  Surely a better way is to make a backup, or, better still,
> to avoid
> > the -m switch and instead get Tidy to create a second file (which is
> what I
> > always do).

Ideally, yes. But when you have a 600-file website (as with my new site),
it can be a little tedious to trawl through each file individually, so I
tend to do a for/in for each directory (although some pages I leave as
they are - for example, it will drop the following:
<div style="width: 200px; height: 200px; background: red"></div> as
empty).

But I find it necessary to tidy because I write all my HTML by hand, and
tend to omit end tags, which isn't a good idea because it can cause
Netscape to crash (given:
<p style="border: solid thin">
Some text
<p style="border: solid thin">
Some text
</p>
) , so I instruct Tidy to stick them back in again.



=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or
http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on Friday, 24 March 2000 12:46:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT