NAME

Perlanet::Trait::Tidy - run posts through HTML::T5 (an HTML::Tidy replacement)

SYNOPSIS

my $perlanet = Perlanet->new_with_traits(
  traits => [ 'Perlanet::Trait::Tidy' ]
);

$perlanet->run;

DESCRIPTION

Before a post is added to the aggregated feed, it will be run through HTML::T5.

Configuring

To configure the HTML::T5 instance, you should override the _build_tidy method. This method takes no input, and returns a HTML::T5 instance.

ATTRIBUTES

tidy

An instance of HTML::T5 used to tidy the feed entry contents before outputting. For default settings see source..

AUTHOR

Oliver Charles, <oliver.g.charles@googlemail.com> Dave Cross, <dave@perlhacks.com>

COPYRIGHT AND LICENSE

Copyright (c) 2010-2023 by Magnum Solutions Ltd.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.