W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2009

Re: Tidy and Merging Spans

From: Arnaud Desitter <arnaud02@users.sourceforge.net>
Date: Fri, 9 Jan 2009 10:46:50 +0000
Message-ID: <a240ddd00901090246x3345c1bcq8bf1d29c56e944f2@mail.gmail.com>
To: "Bhavin Patel" <bhavinrp@hotmail.com>
Cc: html-tidy@w3.org


This is not possible with the current version of tidy. All the
cleaning options are triggered by "clean". Your best option is to
modify the source code of tidy to suit your need (see config.c and


2009/1/8 Bhavin Patel <bhavinrp@hotmail.com>:
> Hello,
> I am using tidy command line to merge nested span tags. when i run tidy
> command line with -c option, it merges nested span tags, but it also does
> below things that i don't want. I tried to find usage example or document,
> but i didn't find any. If you can help me to figure it out, it will be
> great.
> Below is what happens with -c option, which i don't want.
> 1. Tidy replaces font tags with span.
> 2. Tidy removes all the styles and defines css for them. It also adds class
> attribute to all the tags,whereever i had style defined originally.
> I also tried to use configuration file, but it didn't work.
> Any help would be appreciated.
> Thank You,
> Bhavin
> ________________________________
> Windows Live™ Hotmail(R): Chat. Store. Share. Do more with mail. See how it
> works.
Received on Friday, 9 January 2009 10:50:15 UTC

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