From: "Marco Bonetti" <firstname.lastname@example.org> [ Date:
Fri, 22 Apr 2005 19:38:59 +0200
Ulf, list, hello.
I'm trying to filter some malformed XHTML-style image
tags which lack
a space between the last attribute and the closing "/>".
I'm using the following filter array:
$allowed = array(
'img' => array(
'alt' => 1,
...and while this will pass the kses filter as expected:
<img src="http://www.tuaw.com/images/2005/04/safari.jpg" />
... this one won't!:
(Note: no space after the src attribute).
For the latter input and the above filter array, kses
Wondering, is this a bug or the expected behaviour?