Link targets stripped from inserted image code
|Reported by:||Viper007Bond||Owned by:||anonymous|
Disable TinyMCE. Use the uploader to upload an image. Insert the image into the post with it linking to the fullsize. You'll get some HTML like this:
<a href='http://site.com/wp-content/uploads/image.jpg'><img src="http://site.com/wp-content/...
When you view the post, the HREF and it's value are stripped. Switch those single quotes out to double ones and it shows it just fine.
The image uploader should be using double quotes anyway (they're more "correct" and look better IMO) and kses (I assume) should be fixed to not strip them.