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;
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.