Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Allowing HTML


Trent Adams
Member

@trent

Well, the code “em” is already for italics, but if you really need to have it as the “i”, it would be something like this (chrishajer is going to hate me for saying this as it is really poor markup, but….)

<?php
function allow_italics_as_allowed_tags( $tags ) {
$tags['i'] = array();
return $tags;
}
add_filter( 'bb_allowed_tags', 'allow_italics_as_allowed_tags' );
?>

That should work. Get the idea?

Trent

Skip to toolbar