Exactly PQ. That's what I do with my images as well.
I have a class for a left float, a right float, etc. Ones for all kinds of stuff and whatnot as well, and not just for images.
I fully understand I can add hooks to it, but the thing is, for basic functionality like this I shouldn't have to.
I ran a compare (love that FileMerge) against the version of kses on my live site and the one in 1.2.2, and the only difference is the tag arrays and all the stuff being stripped out.
I can fully understand script, style, etc being taken out.
Let's look at just an anchor tag:
Before:
'a' => array (
'class' => array (),
'href' => array (),
'id' => array (),
'title' => array (),
'rel' => array (),
'rev' => array (),
'name' => array (),
'target' => array()),
After:
'a' => array(
'href' => array(), 'title' => array(),
'rel' => array(), 'rev' => array(),
'name' => array()
),
class, id, title, rev, and target were all removed.
I don't get it, really. Class and id were removed? That hurts because...
OK, an end user can sometimes turn out to be one of the lesser sharpened tools in the shed, but that being the case they probably don't have a clue about class or id anyway.
I haven't looked in depth yet to see, but doesn't inserting an image from your personal files associated with your account still add in an id tag? Just to have it stripped out.
I know. It sounds like I'm ranting, but I'm really not. I just don't comprehend the need for removing support for these.
That being said, I'll just keep using the kses file I have, and skip the new one. Problem solved.