Post edited 2:13 am – February 10, 2010 by rickdenhaan
First of all, great widget. This is by far the best Twitter-widget for Wordpress I've come across.
One thing I didn't like though, was the fact that the widget didn't allow an image (i.e. the twitter logo) to be set as the widget title. After playing around, I noticed that it supports HTML tags in the title, so I just crammed an HTML-tag in the title, which worked:
<img src="" />
However, after upgrading to the most recent version, this "feature" is broken. Instead of the image, I now get the HTML-code as the widget title. Trial-and-error and previous Wordpress-experiences taught me that rewriting it as follows fixes it, but for some reason, everytime I update any part of my blog (a setting here, a new post there, but more frustratingly it also appears to happen when someone posts a comment), those escaping backslashes are removed, which removes the image and gives me the HTML-code again.
\\<img src="" /\\>
Now, I've also recently upgraded to WP 2.9.1 from 2.9, which may also have caused this issue, or it may have come from upgrading my theme. But I've been meaning to send in a feature request for a title image instead of only text anyway, and this is as good an excuse as any If I don't have to "hack" it to get it to do what I want, that's much more convenient than figuring out a new hack every time I upgrade my blog.
Edit: wasn't showing the backslash in the second code-block
Just echoing Rick's concern, I'm having the same issue on my blog.
Something strange that I noticed though, is that if I'm authenticated, the image displays as expected, but if I logout, I simply see the HTML as text… very weird.
I have this thought regularly RT @boone I get penalized so much for trying to do things the right way that I'm considering switching sides.04:58:04 PM February 07, 2012