Log in

View Full Version : bbcode issue with javascript.


xfaethorx
07-14-2005, 07:00 PM
hi im looking for a bit of help im trying to code up a bbcode replacement for embedding a mp3 link which will play on a flash player however it needs to call

javascript:void(0); when i place the <a href="javascript:void(0);" *other gubbins* </a> into bbcode it comes out as

javascript<b></b>:void(0); on the link.

obviously this borks the link..

i have no idea why its doing that, i can only assume its something to do with the parser or i've made a really numpty mistake i can't see.


can anyone help.

ahhh found it..its to parse out nasty active scripting in the functions_bbcodeparse.php file. Or at least thats what it says in there :D