HTMLtidy or tidy

Koha uses HTML::Template with uses some new html tags that make tidy error

you can easilty create an ~/.tidyrc file containing this to tell tidy what to do with HTML::Template tags it finds in your *.tmpl file

 new-blocklevel-tags: tmpl_loop tmpl_if tmpl_else tmpl_unless 
 new-inline-tags: tmpl_var tmpl_include
 indent: auto
 indent-spaces: 1
 vertical-space: n
 wrap: 0

then run

 tidy -m ./foo.tmpl

and prepare to be beautified!

 
perltidy_htmltidy.txt · Last modified: 2007/03/01 17:09 by sushi
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki