簡體   English   中英

把手是否與Microsoft條件注釋一起使用?

[英]Do Handlebars work with Microsoft 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>

好吧,事實證明它們工作正常!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM