You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Editor
- TD replaced by TBODY
Support is currently Offline
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Please post your question in the Forum and we will get back to you as soon as we can.
I'm having a problem with some HTML tags being stripped out.
I'm creating an email - so am using "tables" etc - but when I enter the code like this into the html screen of JCE:
JCE then rewrites it when I go back to WYSIWYG mode to:
Essentially stripping out the tds, replacing it with tbody and then missing all the spacing elements. Do you know how I can stop this from happening?
Note that I do already have doctype set to "mixed"
I'm creating an email - so am using "tables" etc - but when I enter the code like this into the html screen of JCE:
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-spacing: 0; font-family: sans-serif; color: #333333;">
<tr>
<td style="padding: 0;"><table border="0" align="center" cellpadding="0" cellspacing="0" style="border-spacing: 0; font-family: sans-serif; color: #333333;">
<tr>
<td bgcolor="#ac0000" style="border-radius: 3px; padding: 12px 18px;" align="center">
<a href="https://www.31dover.com/spirits/portofino-gin-50cl.html?utm_source=affiliate&utm_medium=hotdinners&utm_campaign=october" target="_blank" style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; font-weight: bold; color: #ffffff; text-decoration: none; display: inline-block;">ORDER HERE</a></td>
</tr>
</table></td>
</tr>
</table>
JCE then rewrites it when I go back to WYSIWYG mode to:
<table border="0" align="center" cellpadding="0" cellspacing="0" style="border-spacing: 0; font-family: sans-serif; color: #333333;">
<tbody>
<tr>
<td bgcolor="#ac0000" style="border-radius: 3px; padding: 12px 18px;" align="center">
<a href="https://www.31dover.com/spirits/portofino-gin-50cl.html?utm_source=affiliate&utm_medium=hotdinners&utm_campaign=october" target="_blank" style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; font-weight: bold; color: #ffffff; text-decoration: none; display: inline-block;" rel="noopener">ORDER HERE</a></td>
</tr>
</tbody>
</table>
Essentially stripping out the tds, replacing it with tbody and then missing all the spacing elements. Do you know how I can stop this from happening?
Note that I do already have doctype set to "mixed"
I've tested this on the demo site - https://demo.joomlacontenteditor.net - and the only change is the addition of the <tbody> tag, which is a valid change- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
<table border="0" style="border-spacing: 0; font-family: sans-serif; color: #333333;">
<tbody>
<tr>
<td style="padding: 0;">
<table border="0" style="border-spacing: 0; font-family: sans-serif; color: #333333;">
<tbody>
<tr>
<td style="border-radius: 3px; padding: 12px 18px;"><a href="https://www.31dover.com/spirits/portofino-gin-50cl.html?utm_source=affiliate&utm_medium=hotdinners&utm_campaign=october" target="_blank" rel="noopener" style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; font-weight: bold; color: #ffffff; text-decoration: none; display: inline-block;">ORDER HERE</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!