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


in reply to Question on Html Tidy

HTML::Template lets you use <!-- tmpl_var ... --> which is valid html. update: (well, not always). thanks, wfsp)

Replies are listed 'Best First'.
Re^2: Question on Html Tidy
by wfsp (Abbot) on Nov 10, 2005 at 12:01 UTC
Re^2: Question on Html Tidy
by vishi83 (Pilgrim) on Nov 10, 2005 at 12:07 UTC

    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;
      new-empty-tags: tmpl_var,tmpl_if,tmpl_else,tmpl_loop
      tmpl_unless