Re: [PHP] converting html entities outside of tags

2002-03-18 Thread Erik Price
On Friday, March 15, 2002, at 03:17 PM, Alain Dresse wrote: I want to allow the users of my site to insert text with anchors, bold and italic html tags. I have filtered out all the other tags. I now want to convert the other , , quote, double quote and to html entities. If I use the

[PHP] converting html entities outside of tags

2002-03-15 Thread Alain Dresse
Hi, I want to allow the users of my site to insert text with anchors, bold and italic html tags. I have filtered out all the other tags. I now want to convert the other , , quote, double quote and to html entities. If I use the function htmlspecialchars, it of course also quotes the valid