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?
Breaking <strong> tags?
Moderator: General Moderators
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: Breaking <strong> tags?
How are you retrieving the data and how are you sending the emails out?
Re: Breaking <strong> tags?
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.
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: Breaking <strong> tags?
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.