I'm creating a dynamic template in Sendgrid and I tried to use the each markup with this code:
<table>
{{#each data}}
<tr>
<td class="stats">
<p>{{this.name}}</p>
</td>
</tr>
{{/each}}
</table>
But when I saved this template the code is converted to:
{{#each data}}
{{/each}}
<table>
<tr>
<td class="stats">
<p>{{this.name}}</p>
</td>
</tr>
</table>
This happens only with table tag, when I tried to use each with other tags, like p and b this error doesn't happens.
Do you know what happens? How could I fix it?