Menu icon Foundation
Disable stripping for specific attributes

 

Hello,

 

we require to add the mc:disable-tracking attribute to some of our email links to keep Mandrill from tracking specific links.

However inlining styles would strip out the tag each and every time we make changes to the templates so that we individually have to insert it afterwards. Which gets pretty tiring a you can probably imagine.

 

Is there any way to escape the attribute to not have it stripped out?

Thanks!

inliningstripmandrilltrackinginliner

 

Hello,

 

we require to add the mc:disable-tracking attribute to some of our email links to keep Mandrill from tracking specific links.

However inlining styles would strip out the tag each and every time we make changes to the templates so that we individually have to insert it afterwards. Which gets pretty tiring a you can probably imagine.

 

Is there any way to escape the attribute to not have it stripped out?

Thanks!

Corey Schaaf over 2 years ago

have you tried place the tags you don't want stripped out inside the <raw> ? 

<raw>

don't mess with the formatting inside raw tags. 

</raw>

There's some information about how to use it here: 

https://github.com/zurb/foundation-emails/issues/328 

and here

https://github.com/zurb/inky/pull/57