NAME
Statocles::Plugin::HTMLLint - Check HTML for common errors and issues
SYNOPSIS
# site.yml
site:
class: Statocles::Site
args:
plugins:
lint:
$class: Statocles::Plugin::HTMLLint
DESCRIPTION
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.
ATTRIBUTES
plugins
The HTML::Lint::Pluggable plugins to use. Defaults to a generic set of plugins good for HTML5: 'HTML5' and 'TinyEntitesEscapeRule'
METHODS
check_pages
$plugin->check_pages( $event );
Check the pages inside the given Statocles::Event::Pages event.
register
Register this plugin to install its event handlers. Called automatically.