I am using the following php snippet to limit the number of html tags allowed in one of my text areas:
$post_content = strip_tags( $post_content, '<b>,<cite>,<em>,<i>,<u>,<s>,<strike>,<strong>,<h1>,<br>,<p>' );
However, I also want to allow text color changes via:
<span style="color: #000000"> OR <font color="#cc0000">
Currently, anything like this will get stripped out.
I cant find any information on this anywhere.. Is it at all possible?