Toby Corkindale > Template-Plugin-XML-Escape-0.02 > Template::Plugin::XML::Escape

Download:
Template-Plugin-XML-Escape-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

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 ^

 * Template Toolkit

AUTHOR ^

Toby Corkindale, <cpan@corkindale.net>

COPYRIGHT AND LICENSE ^

Copyright (C) 2006 by Toby Corkindale.

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

syntax highlighting: