From: "Gerard Samuel" <[EMAIL PROTECTED]>

> You're absolutely correct.  I jumped the gun way too early.
> My experience with replacing & with &amp; is that if the content already
> contains entity content, for example &nbsp;
> Running str_replace will mess them up.

Depends how you define "mess them up"... If you want to display &nbsp;
literally on a web page, then you need to write &amp;nbsp; in the source. So
this may not be messing things up but rather preparing them to be shown on a
web page, literally.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to