Marketo strips out mktoModule defined on TR
Hi Guys,
I'm trying to clean up our corporate template and one of the changes I want to do is using mktoModule on a TR Instead of TABLE and mktoContainer on the TBODY instead of TD, to reduce the amount of code. Following the Marketo syntax specs, that should be possible. The problem: when I preview the email is all fine, but when I send a test, Marketo strips out all TRs within mktoContainer. I've tried mktoContainer on the main table, same story.
Code extract:
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="table-responsive" style="table-layout: fixed; width:600px; min-width:600px;">
<tbody class="mktoContainer" id="main-container">
<tr class="mktoModule" mktoAddByDefault="true" id="pre-header" mktoname="Pre Header">
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10" style="font-size:10px; line-height: 10px;"> </td>
</tr>
<tr>
<td style="font-family: 'Nunito Sans', Arial, sans-serif; color: #333333; font-size:12px; line-height:15px; text-align:center;">
<div class="mktEditable" id="pre-header-module" mktoName="Module text">
Test<br>
Can't view this email properly? <a href="{{system.viewAsWebpageLink:default=edit me}}" style="color:#333333;">View Online</a>
</div>
</td>
</tr>
<tr>
<td height="10" style="font-size:10px; line-height: 10px;"> </td>
</tr>
</table>
</td>
</tr>
<tr class="mktoModule" mktoAddByDefault="false" id="header-hero-banner" mktoname="Hero Banner" style="background-color: ${heroBannerModuleBg};">
<td style="background-color: ${heroBannerModuleBg};" align="center" valign="middle">
<div class="mktoImg" id="hero-image-photo" mktoName="Hero photo" mktoImgSrc="http://placehold.it/600x400">
<a style="display: block"><img style="display: block; width: 600px; height: auto;" class="img-responsive" width="600"></a>
</div>
</td>
</tr>
</tbody>
</table>
</tr>
</tbody>
</table>
Anyone with the same problem?
Thanks!
