
On 4/20/2010 5:10 AM, Marcello Perathoner wrote:
Lee Passey wrote:
creates a "<div class='c1'>" around the tables of contents and illustrations, with a corresponding style sheet that centers the contents (which it should not),
HTML Tidy does that.
You are correct. There is apparently a disconnect between the official HTML specification for the "<center>" element and the implementation on all major browser. For informational purposes, I have CC'ed this list with my message to the Tidy developers list on SourceForge. Until I get the matter resolved, I would recommend you /not/ use the --clean option with Tidy.
Direct your complaints to the w3c.
Why? They wouldn't and couldn't do anything about it. Tidy was developed by a member of the W3C, but he has long since abandoned any involvement with the project. Today, the Tidy project is an independent project based at http://www.sourceforge.net/projects/tidy. If you come across a bug in Tidy (or wish an enhancement), please log it at http://sourceforge.net/tracker/?group_id=27659&atid=390963.