W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: Am I wrong about -clean

From: J. David Bryan <jdbryan@acm.org>
Date: Mon, 11 Dec 2000 23:34:00 -0500
Message-Id: <200012120434.XAA23595@mail.bcpl.net>
To: HTML Tidy List <html-tidy@w3.org>
On 11 Dec 2000, at 15:00, Wier, David wrote:

> I've just started using Tidy and I'm using -clean.
> I understood that on top of the indent feature, it also changes the <font>
> tags to CSS...


> ...and it changes the <center> tags (to what I'm not sure - am I wrong
> about that? 

No, it changes <center> to CSS too.

> The reason I ask is that it does neither for me - it just indents 
> My line is tidy -clean filename.htm

It works fine here.  If I run Tidy on a file containing:

  <p><font face="Arial">this is text</font></p>

...in the body, I get:

  <style type="text/css">
   div.c2 {text-align: center}
   p.c1 {font-family: Arial}

in the head, and:

  <div class="c2">
  <p class="c1">this is text</p>

in the body, which is what I would expect.

                                      -- Dave
Received on Monday, 11 December 2000 23:34:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC