Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
drahm138 opened this issue Apr 20, 2021 · 1 comment
Open

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

drahm138 opened this issue Apr 20, 2021 · 1 comment

Comments

@drahm138
Copy link

drahm138 commented Apr 20, 2021

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 drahm138 changed the title <% in URL within mso commented code breaks bulletproof button <% in URL within mso commented code adds new code to button Apr 28, 2021
@drahm138
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant