Page 1 of 1

Breaking <strong> tags?

Posted: Thu May 15, 2008 10:14 am
by Jade
Hey, I'm using a WYSIWYG editor. Members enter in their HTML or use the buttons up top without a problem. The code saves into a database without issue either. However, when I go to send emails based on that code sometimes I'm getting spaces in the strong tag, so looks like <s trong> instead of <strong> causing strikethroughs in IE.

I've looked through the database, for the emails doing this and I don't see breaks in the <strong> tag before its sent out. Anyone have ideas why this might be happening?

Re: Breaking <strong> tags?

Posted: Thu May 15, 2008 10:52 am
by aceconcepts
How are you retrieving the data and how are you sending the emails out?

Re: Breaking <strong> tags?

Posted: Thu May 15, 2008 11:00 am
by Jade
Retrieving it using a sql query that just grabs everything in the field. Sending it out with a the default mail() call from PHP, nothing fancy, passing the exact data grabbed from the field.

Re: Breaking <strong> tags?

Posted: Thu May 15, 2008 11:25 am
by aceconcepts
Try outputting your query result to the browser to see if <strong> is being broken up from within the query (which i doubt ). If it is in tact from the query, then mail() must be breaking it.