Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Question on Html Tidy

by sauoq (Abbot)
on Nov 10, 2005 at 10:13 UTC ( #507332=note: print w/replies, xml ) Need Help??

in reply to Question on Html Tidy

Actually, tidy can do this for you. Check the manpage and look for the new-*-tags config options. Basically, you create a config file containing a line like:

new-empty-tags: tmpl_var
And run tidy with the -config option pointing at that config file. I think tidy will report these as warnings, but it will still clean up the file for you.

Also, tidy knows about ASP style tags (<% ... %>) so those who can use them have an easy out.

"My two cents aren't worth a dime.";

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://507332]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2023-02-06 06:38 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (33 votes). Check out past polls.