From: Philip C. <phi...@ls...> - 2001-08-23 20:27:21
|
> Well, I guess I am throughly confused. Here is how I see things: > > 1. The body of an email should not contain HTML > 2. If it does, SM should not "pass" to to the browser to be rendered. > 3. The way a text client (pine, mutt) would display it is as HTML source. > 4. We should do the same. > > Now, this is all separate and distinct from the issue of bona > fide HTML email, > which AFAIK should be an attachment. OK. I understand a little better. You are just talking about stray HTML in text messages. I thought you were looking for a 'cleaner' for HTML email. Instead of using str_replace, why not just pass the body through htmlspecialchars()? That will accomplish the same thing right? I don't know about speed though. - Phil |