juice icon indicating copy to clipboard operation
juice copied to clipboard

<% in URL within mso commented code adds new code to button

Open drahm138 opened this issue 4 years ago • 1 comments

Our emails use "bulletproof" buttons which contain commented mso code/VML to control button styling in Outlook. The mso and standard code have their own href/URL. If the URL contains db tags (<%=....%>), the code inside and outside the mso comment is altered. If you inline the the attached HTML post-site-launch-5pct-dynamic href - Copy.txt, you'll find that <w:anchorlock/> becomes <w:anchorlock> and a new </w:anchorlock> is added before the closing span. Also, the closing </v:roundrect> is removed altogether. This totally breaks the button for Outlook. You can see this in the online web client version.

drahm138 avatar Apr 20 '21 17:04 drahm138

This has resurfaced. Is there a way I could use codeBlocks to ignore the mso or v:roundrect block of code?

drahm138 avatar May 26 '23 18:05 drahm138

<w:anchorlock/> is properly preserved with the latest version of Juice.

cossssmin avatar Oct 29 '25 14:10 cossssmin