NAME
Mason::Plugin::HTMLFilters - Filters related to HTML generation
FILTERS
HTML or H
Do a basic HTML escape on the content - just the characters '&',
'>', '<', and '"'.
HTMLEntities
Do a comprehensive HTML escape on the content, using
HTML::Entities::encode_entities.
URI or U
URI-escape the content.
HTMLPara
Formats a block of text into HTML paragraphs. A sequence of two or
more newlines is used as the delimiter for paragraphs which are then
wrapped in HTML """"...""
"" tags. Taken from
Template::Toolkit. e.g.
% $.HTMLPara {{
First paragraph.
Second paragraph.
% }}
outputs:
First paragraph.
Second paragraph.
HTMLParaBreak
Similar to HTMLPara above, but uses the HTML tag sequence "
"
to join paragraphs. Taken from Template::Toolkit. e.g.
% $.HTMLPara {{
First paragraph.
Second paragraph.
% }}
outputs:
First paragraph.
Second paragraph.
FillInForm ($form_data, %options)
Uses HTML::FillInForm to fill in the form with the specified
*$form_data* and *%options*.
% $.FillInForm($form_data, target => 'form1') {{
...