Skip to Content

Hybris Marketing Content Studio editor adding additional html code to emails

Hi

After uploading email html code into the content studio email editor and doing a test send - i have noticed that the email received has additional html code / tags within it that are affecting the layout/design of my email template - particularly in Microsoft Outlook. Some examples of the code that is being added are below. The first is conditional styles for Microsoft Outlook clients, the second is an example of <div> tags added after reusable block content.

Any help / advice would be appreciated - i'm hoping there's a configuration setting to stop the editor adding it's own code?

Thanks
Jerome

<!--[if mso]>
    <table border=3D"0" cellpadding=3D"0" cellspacing=3D"0" align=3D"left" style=3D"mso-table-lspace:0pt;  mso-table-rspace:0pt; border-collapse: collapse; width: 100%">
        <tr>
            <td style=3D"width: 100%;">
<![endif]-->


<div style=3D"float: left; width: 100%" class=3D"sapMktBlock">
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 27, 2019 at 01:45 PM

    Hi Jerome,

    This is the standard product behavior, SAP will add its own attributes as these are used for internal SAP processing e.g. View in browse, SAP will know which elements to display, also for tracking it needs to append these id's.

    As for the condition, that is added for a condition block which will be present but not necessarily being used. You need to align your html code from the content studio itself and align accordingly.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.