Slaven Rezić > WE_Framework-0.097_03 > WE_Frontend::Plugin::HtmlNum

Download:
WE_Framework-0.097_03.tar.gz

Dependencies

Annotate this POD

Module Version: 1.04   Source  

NAME ^

WE_Frontend::Plugin::HtmlNum - numeric html/xml entities

SYNOPSIS ^

    # In the calling script (normally already done by WebEditor::OldController)
    my $t = Template->new({PLUGIN_BASE => "WE_Frontend::Plugin"});

    # In the template
    [% USE HtmlNum %]
    [% FILTER html_num %]
    ...
    [% END %]
    [% variable | html_num %]

DESCRIPTION ^

Like the html_entities filter, but use numeric entities instead. The usage of this filter over the "html" or "html_entities" filters is highly recommended to avoid all kind of utf-8 vs. 8 bit charset problems.

AUTHOR ^

Slaven Rezic - slaven@rezic.de

SEE ALSO ^

Template::Plugin::Filter.

syntax highlighting: