Extend WebGUI::HTML::filter to also do encode XML entities.

This commit is contained in:
Colin Kuskie 2009-08-05 21:47:14 +00:00
parent 610e9b9e67
commit 55e0feb687
2 changed files with 18 additions and 1 deletions

View file

@ -81,6 +81,18 @@ my @filterSets = (
type => 'all',
comment => 'all, specific iframe test case',
},
{
inputText => q! !,
output => q! !,
type => 'xml',
comment => 'xml,  ',
},
{
inputText => q!> < "!,
output => q!&#x3E; &#x3C; &#x22;!,
type => 'xml',
comment => 'xml, other characters',
},
);
my @macroParamSets = (