Prevent conditional comments being stripped out in email template?

Anonymous
Not applicable

Re: Prevent conditional comments being stripped out in email template?

This is also an issue for our company. Some of our templates need a background image on a table cell so that we can float editable marketo text above it. Marketo's only alternative seems to be to add the Outlook targetted comments into each and every instance of the template. This almost defeats the purpose of using templates, the marketing team who I make these templates for does not have the coding know-how to do this each and every time and it limits their ability to run campaigns. It seems like at the very least there should be an option not to have the comments removed from my email templates on approval.
Dan_Stevens_
Level 10 - Champion Alumni

Re: Prevent conditional comments being stripped out in email template?

Justin_Cooperm2
Level 10

Re: Prevent conditional comments being stripped out in email template?

Please see this thread:

Marketo Removing Code for Image Scaling for Outlook at 125%dpi

We have resolved this issue and can enable the fix for your subscription if you're interested. Please see the comments in the idea above for more details.

Dan_Stevens_
Level 10 - Champion Alumni

Re: Prevent conditional comments being stripped out in email template?

I just finished testing... AND IT WORKS!!!!  Thanks so much, Justin!  BTW, it's not just the DOCTYPE that caused the issues, but Marketo was also stripping the xmlns definitions within the <HTML> tag, just after the DOCTYPE.  These critical three lines of code are now also being preserved.