Marcus Ramberg > MojoMojo-0.999019 > MojoMojo::Formatter::Scrub

Download:
MojoMojo-0.999019.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: MojoMojo-0.999028

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.