How do I get around the single/double quote problem in HTML email?

demonboy

Member
Hi,

I am creating an HTML body in my email under the PEM trigger. As I understand it, this will not allow me to use double quotes, so I assume I will have to do a search-and-replace on all instances of "

However, what happens with code such as this?

<div class="ftbnam" style="font-family: 'Gill Sans', 'Gill Sans MT', 'Myriad Pro', 'DejaVu Sans Condensed', Helvetica, Arial, 'sans-serif'">

I have pasted the code as it should appear in normal HTML. If I change style=" to style=', won't this affect the following font families that normally appear in single quotes? If I change the code to

<div class='ftbnam' style='font-family: 'Gill Sans'...'>

... isn't this going to fall apart at the single quote that wraps Gill Sans?
 
Top