Extend WebGUI::HTML::filter to also do encode XML entities.
This commit is contained in:
parent
610e9b9e67
commit
55e0feb687
2 changed files with 18 additions and 1 deletions
12
t/HTML.t
12
t/HTML.t
|
|
@ -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!> < "!,
|
||||
type => 'xml',
|
||||
comment => 'xml, other characters',
|
||||
},
|
||||
);
|
||||
|
||||
my @macroParamSets = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue