I saw this post yesterday, and was just laughing at some of you saying can't be done.
Yes it can because i had ago, and i have done it my self, and yes it works fine ;)
So what should i do, give all of you people a challenge to try and figure it out your self or should i post?
Here is a working version: http://86.185.88.98/Tests/Image%20Fix/
By the way this is my local server (localhost), so if it says Page Cannot Be Found, then i put localhost offline.
Yes this can be XSS'ed because i haven't done htmlspecialchars(), on this because on your normal mccode parser it does that it's self.
So no need for me to add it on here because you will most probably add it into your bbcode function/class.
Now I'm going to wait for some of you to reply.
:)