Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 29070

denotes a question about the Magento e-mail templates

23 votes

How to render data type html in template email magento2?

I change {{trans "%body" body=$data.body}} to {{trans "%body" body=$data.body|raw}}. it render success.
xanka's user avatar
  • 2,114
15 votes
3 answers
11k views

How to render data type html in template email magento2?

I have email template in Magento 2: email-template.html {{template config_path="design/email/header_template"}} {{trans "%body" body=$data.body}} {{template config_path="design/email/footer_templat …
xanka's user avatar
  • 2,114