HTML::Lint::Pluggable::WhiteList - to ignore certain errors that have been specified
This document describes HTML::Lint::Pluggable::WhiteList version 0.08.
use HTML::Lint::Pluggable; my $lint = HTML::Lint::Pluggable->new; $lint->load_plugin(WhiteList => +{ rule => +{ 'attr-unknown' => sub { my $param = shift; if ($param->{tag} =~ /input|textarea/ && $param->{attr} eq 'istyle') { return 1; } else { return 0; } }, }, });
Kenta Sato <karupa@cpan.org>
Copyright (c) 2012, Kenta Sato. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTML::Lint::Pluggable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Lint::Pluggable
CPAN shell
perl -MCPAN -e shell install HTML::Lint::Pluggable
For more information on module installation, please visit the detailed CPAN module installation guide.