15 Jan 2021 15:14:32 UTC
- Distribution: Perlanet
- Source (raw)
- Browse (raw)
- How to Contribute
- KwaliteeBus factor: 1
- License: perl_5
- Perl: v5.6.0
- Activity24 month
- Download (68.39KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Perlanet::Trait::Tidy - run posts through HTML::Tidy
my $perlanet = Perlanet->new_with_traits( traits => [ 'Perlanet::Trait::Tidy' ] ); $perlanet->run;
Before a post is added to the aggregated feed, it will be run through HTML::Tidy.
To configure the HTML::Tidy instance, you should override the
_build_tidymethod. This method takes no input, and returns a HTML::Tidy instance.
An instance of HTML::Tidy used to tidy the feed entry contents before outputting. For default settings see source..
Oliver Charles, <email@example.com>
Copyright (c) 2010 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.