http://qs1969.pair.com?node_id=507344


in reply to Re: Question on Html Tidy
in thread Question on Html Tidy

Hi ..
I Think you got it wrong.
I have asked for an utility and not the script to do it..

Please read sauoq's answer before sending any replies.. He was spot on.. Thanks for your answer man!!!
It really worked....

This is wat i tried...
created tidy.conf with contents...

new-empty-tags: tmpl_var,tmpl_if,tmpl_else,tmpl_loop
This will now work for templates...

To summarise everything..

Download the tgz file for tidy from sourceforge. start using it Read the man page of tidy from sourceforge site for your reference http://tidy.sourceforge.net/docs/tidy_man.html
People who use perltidy can understand this also.. Try do lot of learning on this..

Thank u

A perl Script without 'strict' is like a House without Roof; Both are not Safe;

Replies are listed 'Best First'.
Re^3: Question on Html Tidy
by maard (Pilgrim) on Nov 11, 2005 at 15:40 UTC
    new-empty-tags: tmpl_var,tmpl_if,tmpl_else,tmpl_loop
    tmpl_unless