Re: Valid Code removed

"Cory Nelson" <[email protected]> Thu, 18 Oct 2007 09:32:20 -0700
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
On 10/17/07, Lothar Bongartz <[email protected]> wrote:
> Dear Sirs,
>
> I get warnings about valid code. I could ignore the warnings, but the related code is removed in the generated code.
>
> As far as I know, nested "<b>" are allowed.
>

An argument could be made about how "correct" this is, but yes, nested
and empty <b> are allowed by the spec.  Tidy should probably be made
to avoid merging/dropping these tags if they have a class/id.

>
> As far as I know, hrefs have to be URI Encoded, not HTML Encoded.
>

URIs must be HTML encoded (in addition to URI encoded) when present in HTML.

>
> Attribute "allowtransparency" is required for Internet Explorer, if the background color shall be defined by the iframe embedding page instead of the iframe background.
>

A "new-attributes" option, perhaps with "attr" and "tag:attr" syntax
may be useful here.

-- 
Cory Nelson

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/