Pass {{link}} url into outlook-specific markup in email templates. #1028
Conversation
|
Are there email-rending tests that we could usefully add to, to prevent this re-appearing in future? |
|
@rfk - @johngruen used Email on Acid, if you are inclined, there are discussions in #706 and #761. |
|
...yeah, I'm not sure what to make of this travis failure |
|
@rfk @shane-tomlinson I am an idiot. FWIW Email on Acid didn't catch the broken links under the Outlook conditionals. |
|
Ahha, from https://litmus.com/blog/a-guide-to-rendering-differences-in-microsoft-outlook-clients, it looks like Outlook 2011 uses Webkit, my test was invalid.
|
|
@shane-tomlinson: the offending clients are 2007,2011,and 2013. I got someone in QA to test on 2013 and confirm that this patch works. I believe all there have the same rendering engine. |
|
Nick CI (run against Sauce) gives this a |
|
I'm fine w/ somebody merging this. I verified the raw email from ux test server is sending the correct URL (instead of "http://"). I vote we merge now this and see if its worth getting into Prod today/tomorrow and in the meantime I'll dig around internally and try and find if I can get the MSDN information to download copies of Outlook to test on without having to give anybody my banking details. |
All the tests pass locally and against Sauce (from my local machine) so I shall merge this with caution. |
fix(email): Pass {{link}} url into outlook-specific markup in email templates.
? Like, hit the green button, but softly? |
|
Looks good in prod: <!--[if mso]>
<v:roundrect =
xmlns:v=3D=22urn:schemas-microsoft-com:vml=22 xmlns:w=3D=22urn:schemas-micr=
osoft-com:office:word=22 href=3D=22https://api.accounts.firefox.=
com/v1/verify=5Femail=3Fuid=3D73008a8414614b6bb2f0bee0fee0ca0e&code=3D64540=
9bec56a481b9a1ff32b4126cfa9=22 style=3D=22height:40px;v-text-anchor:middle;=
width:300px;=22 arcsize=3D=2210%=22 stroke=3D=22f=22 =
fillcolor=3D=22#0095DD=22>
<w:anchorlock/>
<center>
<![endif]-->
<a href=3D=22https://api.=
accounts.firefox.com/v1/verify=5Femail=3Fuid=3D73008a8414614b6bb2f0bee0fee0=
ca0e&code=3D645409bec56a481b9a1ff32b4126cfa9=22 style=3D=22text-decoration:=
none;font-size:20px;font-family:Helvetica;display:block;color:#FFFFFF;paddi=
ng:15px !important;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;=
=22>Verify</a>
<!--[if mso]>
</center>
</v:roundrect>
<![endif]--> |
|
Thanks @rfk for coming up with this fix so quickly. |


Fixes #1027 in my testing with Outlook2013