Template::Plugin::XML::Escape - Escape variables to suit being placed into XML


Template-Plugin-XML-Escape documentation  | view source Contained in the Template-Plugin-XML-Escape distribution.

Index


NAME

Top

Template::Plugin::XML::Escape - Escape variables to suit being placed into XML

SYNOPSIS

Top

  [% USE XML.Escape %]
  ...
  <foo bar="[% c.variable | xml_escape %]" />

DESCRIPTION

Top

Escapes XML entities from text, so that you don't fall prey to people putting quotes, less-than/greater-than, and ampersands, into variables that end up in TT templates.

SEE ALSO

Top

 * Template Toolkit

AUTHOR

Top

Toby Corkindale, <cpan@corkindale.net>

COPYRIGHT AND LICENSE

Top


Template-Plugin-XML-Escape documentation  | view source Contained in the Template-Plugin-XML-Escape distribution.