Statocles::Plugin::HTMLLint - Check HTML for common errors and issues
version 0.098
# site.yml site: class: Statocles::Site args: plugins: lint: $class: Statocles::Plugin::HTMLLint
This plugin checks all of the HTML to ensure it's correct and complete. If something is missing, this plugin will write a warning to the screen. If fatal is set to true, it will also call die() afterwards.
die()
If set to true, and there are any linting errors, the plugin will also call die() after printing the problems. Defaults to false.
The HTML::Lint::Pluggable plugins to use. Defaults to a generic set of plugins good for HTML5: 'HTML5' and 'TinyEntitesEscapeRule'
$plugin->check_pages( $event );
Check the pages inside the given Statocles::Event::Pages event.
Register this plugin to install its event handlers. Called automatically.
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Statocles, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Statocles
CPAN shell
perl -MCPAN -e shell install Statocles
For more information on module installation, please visit the detailed CPAN module installation guide.