Hi,
I'm trying to apply the strip tags filter to a dojo enabled form in
ZF1.10. I'm passing an array of allowed tags, but only the first element
in the array is passing - all other tags are stripped. I must be missing
something?
$this->addElement('editor', 'description',array(
'label' => 'Description: ',
'required'=> false,
'description' => 'Please describe the event,',
'filters' => array(
array('StripTags', array('a','ul','ol','li','span','br')),
),
'dojoType' => 'dijit.Editor'
)
);
This allows 'a' tags, but strips all others.
Is this a bug. or have I made an error in passing my allowedTags array?
Thanks. --cg