[if mso] tag in email not saved correctly

[ad_1]

Hey there, wanted to change a bit the mail send on import, everything work great execpt the MSO tags in the HTML of the mail.

I have a button to set up the password like this :

<div style="text-align: center;"><!-- [if mso]> <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="https://projectdmc.org/support/topic/if-mso-tag-in-email-not-saved-correctly/**passwordreseturl**&amp;state=ftl"style="height:50px;v-text-anchor:middle;width:200px;" arcsize="20%" stroke="f" fillcolor="#f89931"><w:anchorlock/><center> <![endif]--><a style="background-color: #f89931; border-radius: 10px; color: #ffffff; display: inline-block; font-family: sans-serif; font-size: 13px; font-weight: bold; mso-line-height-rule: exactly; line-height: 50px; text-align: center; text-decoration: none; width: 200px; -webkit-text-size-adjust: none;" href="https://projectdmc.org/support/topic/if-mso-tag-in-email-not-saved-correctly/**passwordreseturl**&amp;state=ftl">BUTTON TEXT</a><!-- [if mso]></center></v:roundrect><![endif]--></div>

But, when ever I save the page with the “save email template and options” button, the html change to this :

<div style="text-align: center"><!-- [if mso]&gt;  &lt;![endif]--><a style="background-color: #f89931;border-radius: 10px;color: #ffffff;font-family: sans-serif;font-size: 13px;font-weight: bold;line-height: 50px;text-align: center;text-decoration: none;width: 200px" href="https://projectdmc.org/support/topic/if-mso-tag-in-email-not-saved-correctly/**passwordreseturl**&amp;state=ftl">BUTTON TEXT</a><!-- [if mso]&gt;&lt;![endif]--></div>

Tried to tick/untick the Disable WP Editor option but it change nothing. So my button dont have the same style as all my other email.

Do you know what Im doing bad ? This exact code work on plenty of other plugins like gravity form for example.

Have a wonderfull day !

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer