I had one of these because the image posted had an & in the filename... switching off XHTML in the config didn't fix it, btw, I had to edit the html of the post itself