Re: How to prevent Marketo from forcing non-breaking spaces?

Anonymous
Not applicable

How to prevent Marketo from forcing non-breaking spaces?

I’m noticing that everywhere where we have an empty <td> tag, Marketo adds   inside it automatically, which bumps up the spacing and throws off the layout. Is there a cure for that? How can we ensure it doesn’t happen? For example, if we need 5px od spacing and use <td height="5"></td>, it becomes much taller as <td height="5"> </td>.

How could I stop this from happening?

2 REPLIES 2
Edward_Unthank_
Level 10

Re: How to prevent Marketo from forcing non-breaking spaces?

Ahh, the WYSIWYG. One way you can trick this into not happening is to put a zero-width space instead—I think Marketo will recognize that as content and therefore won't put in a space. The code for a zero-width space in the HTML editor is: &zwsp;

HTML Before:

<td height="5"></td>

HTML After:

<td height="5">&zwsp;</td>

That's a hack to get this to work though, so it's more of a last resort than anything.

Anonymous
Not applicable

Re: How to prevent Marketo from forcing non-breaking spaces?

That didn't seem to make a difference, but I'm using another hack - adding a content of the same color as the background:

<td style="font-size: 1px; line-height: 1px; color: #ffffff;" height="15">.</td>