Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!

AC V7 strips off a part of mso code

Avatar

Level 1

Hi everyone,

 

I used this source code:

 

<!--[if (gte mso 9)|(IE)]><!-->

<img class="nlui-widget" style="border-radius: 4px; width: 100%; height: auto; border: 0;" alt="" src="linktoimage/ yourImage.gif" unselectable="on" width="640"><!--<![endif]-->

<!--[if (gte mso 9)|(IE)]>

<img class="nlui-widget" style="border-radius: 4px; width: 100%; height: auto; border: 0;" alt="" src="linktoimage/ yourImage.jpg"unselectable="on" width="640"><![endif]-->

 

But after saving AC strippedthis part : "<!--"

 

[if (gte mso 9)|(IE)]><!-->

<img class="nlui-widget" style="border-radius: 4px; width: 100%; height: auto; border: 0;" alt="" src="wwww.myLink.com/ yourImage.gif" unselectable="on" width="640"><!--<![endif]-->

[if (gte mso 9)|(IE)]>

<img class="nlui-widget" style="border-radius: 4px; width: 100%; height: auto; border: 0;" alt="" src="wwww.myLink.com/ yourImage.jpg"unselectable="on" width="640"><![endif]-->

 

Did i wrote something wrong for AC or is this a bug?

Is there another solution?

 

Thanks in advance

 

 

 

 

 

2 Replies

Avatar

Community Advisor

Hello @f123collyn ,

 

Can you please check your syntax of your if else condition? 

Documentation URL : Conditional content | Adobe Campaign

 

Screenshot of syntax: 

Parvesh_Parmar_0-1651752368793.png

 

Thanks.

Parvesh.

 

 

Avatar

Level 1

Hi Parvesh,

 

Thanks for replying.

 

It is not an Adobe conditional code.

 

The mso code is a standard code only to be seen by mso.

 

it works fine with f.i.:

 

<!--[if mso]>
<table cellpadding="0" cellspacing="0" role="presentation" align="center" style="width:660px;">
<tr><td style="line-height:0; padding:20px 0;">
<![endif]-->

 

Adobe does not strips of the "<!--" in that case.

 

Thank you.

 

f123collyn