Handlebars是否与Microsoft条件评论一起使用?

时间:2017-12-13 17:39:00

标签: html email outlook handlebars.js conditional-comments

我们对html电子邮件模板以及把手使用条件评论。我只是想知道把手是否可以在条件评论中使用,如下所示:

                        <div>
                            <!--[if mso]>
                              <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{candy.website}}" style="height:40px;v-text-anchor:middle;width:104px;" arcsize="5%" strokecolor="#3ab4e2" fillcolor="#3ab4e2">
                                <w:anchorlock/>
                                <center style="color:#ffffff;font-family:'Open Sans', 'Arial', sans-serif;font-size:14px;">View brand</center>
                              </v:roundrect>
                            <![endif]--><a href="www.candies.com"
                        style="background-color: #3ab4e2; border: 1px solid #3ab4e2; border-radius: 2px; color: #ffffff; display: inline-block; font-family: 'Open Sans', 'Arial', sans-serif; font-size: 14px; line-height: 40px; margin: 0px; padding: 0px; text-align: center; text-decoration: none; width: 104px; -webkit-text-size-adjust: none; mso-hide: all;">View brand</a>
                        </div>

1 个答案:

答案 0 :(得分:0)

好吧,事实证明他们工作得很好!