Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-Lint CPAN distribution.

Report information
The Basics
Id: 16514
Status: rejected
Priority: 0/
Queue: HTML-Lint

People
Owner: Nobody in particular
Requestors: carbon [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Ignore tag feature
I use HTML::Lint on my HTML::Template templates. HTML::Template has defines tags not used by HTML to allow it to its mojo such as <tmpl_var>, <tmpl_if>, <tmpl_loop>, etc. HTML::Lint complains heavily because of this. I would like a way to define tags that HTML::Lint will ignore so that I can see true problems. I would imagine the programmers interface to such a feature would be similar to how only_types is setup now. Single tag on construction: my $lint = HTML::Lint->new( ignore_tags => '<tmpl_var>' ); Many tags on construction: my $lint = HTML::Lint->new( ignore_tags =>[ '<tmpl_var>', '<tmpl_if>'] ); Via method: $lint->ignore_tags( $tag1[, $tag2...] );