Editor not respecting closed tags

The new editor is fantastic but we are having a couple issues with the preview/display not respecting the HTML we have in the template.

For example, one of our <layout> blocks contains the following:

<layout label='Q & A'>
<table class="content-table" border="0" cellspacing="0" cellpadding="10">
<tr><td>
<h3>Question: <singleline label='Header' link='true'>Default Text</h3>
<p><singleline label='Attribution'>Author</singleline></p><br />
<multiline label='Content'>Default Content</multiline>
</td></tr>
</table>

</layout>

The display doesn't respect the closed H3 and instead renders teh Attribution singleline as though it should be formatted just like the H3. It doesn't appear this way when we send a test or when we click on the Preview link from the Snapshot screen.

Notice the Ed from Sacramento text in the screenshot. It should look like the default P text but it does not.
http://three29media.com/images/cm-h3-issue.jpg

Is something wrong w/ my layout code?

Phil Phil, 5 years ago

G'day khowe,

This may or may not be the issue, but your first singleline tag isn't closed, and that might be confusing the editor.

Perhaps try this?

<h3>Question: <singleline label='Header' link='true'>Default Text</singleline></h3>
khowe, 5 years ago

Wow, that is embarrassing. Guess this is one of those times where I've been looking at the code a bit too much...

khowe, 5 years ago

Okay, I just checked the template and the template is right, seems I just can't copy and paste into the forum correctly. Still showing this issue on a template that seems to be coded correctly.

khowe, 5 years ago

Also in going through my tests once I click "Preview" it seems to render the page correctly. It seems to be happening on H1s, 2s and 3s.

roshodgekiss roshodgekiss, 5 years ago

Hi khowe, we'll have to look at the template in your account to get to the bottom of this one - could you kindly contact our support team with campaign/account details, as well as a description of what you're seeing? Thank you so much :)


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098