Steve Cook > HTML-Laundry-0.0103 > HTML::Laundry::Rules

Download:
HTML-Laundry-0.0103.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

HTML::Laundry::Rules - base class for HTML::Laundry rulesets

VERSION ^

Version 0.0002

FUNCTIONS ^

new

Create an HTML::Tidy::Rules object.

    my $rules = HTML::Laundry::Rules::MyRules->new();

tidy_ruleset

Return a hashref representing a ruleset for an HTML::Tidy object.

acceptable_a

Return a hashref representing a list of acceptable attributes

acceptable_e

Return a hashref representing a list of acceptable elements

empty_e

Return a hashref representing a list of empty elements

unacceptable_e

Return a hashref representing a list of unacceptable elements

uri_list

Return a hashref representing a list of elements/attribute pairs known to contain hrefs (for rebasing and URI scheme checking)

allowed_schemes

Return an arrayref representing a list of allowed schemas

finalize_initialization

Function allowing transformation of the HTML::Laundry object.

syntax highlighting: