Re: Inserted spaces "="

On Fri, 4 Aug 2000, Jason Manaigre wrote:

> 
> Hello everyone, had a question here about html tidy (Called Code
> Sweeper --built into Allaire HomeSite 4.5) it's about the very
> simple code below
> 
> <link rel="STYLESHEET" type="text/css" href="test.css">
> <meta name="AUTHOR" content="Anyone">
> <meta name="DESCRIPTION" content="The Consultative Group.">
> 
> is turned into:
> 
> <link rel="STYLESHEET" type="text/css" href="test.css">
> <meta name="AUTHOR" content="Anyone">
> <meta name="DESCRIPTION" content=
> "The Consultative Group.">

HTML allows you to place line breaks before or after the
"=" sign that separates attribute names from values.
Tidy takes advantage of this to flow the markup within
the window width since this reduces the need for horizontal
scrolling when editing the markup. Tidy has lots of options
for controlling the formatting, but it can't do everything.
Tidy works by creating a clean markup tree then pretty
printing it.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 778 532 0444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Friday, 4 August 2000 13:25:02 UTC