有没有机会发送原始html
eq。订购表到MandrillApp
模板而不是raw html
?
我试过以下代码:
$itemTable = 'html table'
->addGlobalMergeVar('order_items_table_content', $itemTable);
我的车把html模板:
{{ order_items_table_content }}
如果您使用车把,请使用三个{
而不是两个。
这将被转义:
{{ my_html_value }}
这不会被转义:
{{{ my_html_value }}}
更多信息:https://mandrill.zendesk.com/hc/en-us/articles/205582537-Using-Handlebars-for-Dynamic-Content