NAME

MojoMojo::Formatter::Scrub - Scrub user HTML 1 =head1 DESCRIPTION

This formatter makes sure only a safe range of tags are allowed, using HTML::Scrubber; It also makes sure all tags are balaced, using XML::Clean.

METHODS

format_content_order

Format order can be 1-99. The Comment formatter runs on 1

format_content

calls the formatter. Takes a ref to the content as well as the context object.

SEE ALSO

MojoMojo,Module::Pluggable::Ordered,XML::Clean,HTML::Scrubber

AUTHORS

Marcus Ramberg <mramberg@cpan.org>

LICENSE

This module is licensed under the same terms as Perl itself.