I have done some experimenting, and after adding the following code to my own theme's functions.php file, it works perfectly as required. Commenters are now only able to bold and italicise there comments. I tried inserting
<a href> tag and it was stripped....
Now I just want to remove raw links, ie links that people enter by just entering the url without any tags what-so-ever...
eg, http://google.com still get's rendered in the comment and is even clickable. I want to totally not even have it.
I'm thinking of searching through the comment and finding any reference to http: and then just deleting everything from there up to the first space...
I'm now open to ideas on how to achieve that.
Oh, and the code I put in my functions.php file:
$allowedtags = array(
'b' => array(),
'em' => array (), 'i' => array (),
Is there a better place for it?