MyBB Community Forums

Full Version: Onblur hyperlink html problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi people,

I want to post this code to an html enabled forum:
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://google.com"><img src="test.jpg"/></a>

Apparently MyBB doesn't 'understand' this code. The following text is displayed before the image:
nblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://google.com">
and it hovers like a normal link, but the hyperlink point to nowhere.

Unfortunately I cant change the hyperlink code, because it is posted automatically (by RSS to post).

Does anybody know how to fix this ? Is there a way to let MyBB understand this code ?

Many thanks in advance !
Yes it is, and even if it wasn't, it shouldn't show like this, it just wouldn't do anything.

I don't think there's anything in MyBB to actually stop it working though, and I don't know why it changes onblur to nblur...
Thanks.
Html is only enabled for one user: the RSS-feed-poster-user.
Funny enough, this code is used in Google's Blog :s. As Matt pointed, it is strange that it changes onblur to nblur. I have never seen a transformation like this; interesting to know what's causing it.