Hello, I excited about revamping some old HTML to become standards compliant. I think tidy [1] is great tool to help me do this. Currently I'm working with some templates that have some non-standards tags to work with HTML::Template. I defined this in my .tidyrc to help handle them:
// extra bits for HTML::Template compatibility new-inline-tags: tmpl_var tmpl_loop tmpl_include tmpl_if tmpl_unless tmpl_else new-empty-tags: tmpl_var tmpl_loop tmpl_include tmpl_if tmpl_unless tmpl_else new-pre-tags: tmpl_var tmpl_loop tmpl_include tmpl_if tmpl_unless tmpl_else ###### I can tell that the .tidyrc file is being read because other options in there are being picked up, but these options didn't seem to help me at all. I still get these kinds of errors when I try to validate with tidy: ####### $ tidy cat-add.tmpl line 19 column 2 - Error: <tmpl_if> is not recognized! line 19 column 2 - Warning: discarding unexpected <tmpl_if> line 21 column 62 - Error: <tmpl_var> is not recognized! line 21 column 62 - Warning: discarding unexpected <tmpl_var> line 22 column 1 - Warning: discarding unexpected </tmpl_if> ####### My tidy version is: "HTML Tidy for FreeBSD released on 1st February 2003". I realize this is slightly off-topic, but any suggestions to help get this working would be appreciated. Thanks! Mark [1] http://tidy.sourcefourge.net ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
