How do I parse out any special characters that are not in HTML tags?
example
<a href="http://www.yahoo.com">Bob & Susan's Blog</a>
It should convert it to
<a href="http://www.yahoo.com">Bob & Susan's Blog</a>
note how it left the HTML tag alone
It needs to do the following:
'&' (ampersand) becomes '&'
'"' (double quote) becomes '"'
''' (single quote) becomes '''
'<' (less than) becomes '<'
'>' (greater than) becomes '>
I'm not good at using the function ereg_replace 🙁