W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2004

Re: html tidy bug solutions

From: Fred Bone <Fred.Bone@dial.pipex.com>
Date: Fri, 30 Jul 2004 18:48:09 +0100
To: html-tidy@w3.org
Message-ID: <410A97E9.11146.2528B870@localhost>

On 30 Jul 2004 at 17:09, Gustav Colliander wrote:

> 
> Hi,
>    I would like to use html tidy, but there are many bugs I have found within
> it with it dropping font tags mostly.
> 
> I would like to fix these problems can you please let me know who is the maintainer
> of this project for whom to send source code updates to?
> 
> For example this simple input:
> 
> <html>
> <head>
> <title>title...</title>
> <meta name="GENERATOR" content="Some gen..">
> </head>
> <BODY BGCOLOR="#FFFFFF"><font FACE="Arial" SIZE="3" >Hello<b> </b><i>World <b>How</i> <font COLOR="#ff0000">Are</b><font COLOR="#000000">&nbsp;<font SIZE="6">you<font SIZE="3">?<br></font><font FACE="Microsoft Sans Serif" SIZE="3" COLOR="#000000" ></font>
> </font></font></font></font>
> </body>
> </html>
> 
> 
> Causes the italics to be dropped after the word 'How'

Dropped? What do you mean?

What version are you using? What does it do?

What output were you expecting instead?

Note that when you provide incorrectly-nested tags, the best Tidy can 
usually do is make a reasonable guess (so to speak). Your idea of the 
"right" correction might not coincide with someone else's.

When I run it, the closing </i> is moved to follow the penultimate 
</font>, which seems reasonable to me: it's the one that closes the first 
<font> after the <i>.
Received on Friday, 30 July 2004 13:48:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:54 UTC