cancel
Showing results for 
Search instead for 
Did you mean: 

Use multiple template modifiers

0 Kudos

Use multiple template modifiers

Feature request from kassner, posted on GitHub May 23, 2016

Hi,

I have an email template with this:

<strong>Comments:</strong> {{var comments|nl2br}}

So, if the user adds an HTML tag, it is not escaped in the email template. The thing is that is not possible to combine escape and nl2br at the same time. Is there a way to achieve this without a plugin?

Thanks!

2 Comments
apiuser
New Member
Status changed to: Investigating
 
apiuser
New Member

Comment from vkorotun, posted on GitHub Aug 04, 2016

Unfortunately, no. Internal ticket: MAGETWO-56374