You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When we use mj-html-attributes and a templating language like EJS inside a compontent, a tag <%= my_variable %> is not preserved as is, but it is rendered as <%= my_variable="" %="" />.
To Reproduce
Steps to reproduce the behavior:
Copy and paste the following code in the try-it-live tool:
Yup, I think this should be mentioned in the doc as it's not something we can fix. When Cheerio parse the document, any "look alike" xml/html will be treated as a xml tag so it will alter the output HTML
Describe the bug
When we use mj-html-attributes and a templating language like EJS inside a compontent, a tag <%= my_variable %> is not preserved as is, but it is rendered as <%= my_variable="" %="" />.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We expect the tag <% ... %> to be rendered as is.
MJML environment
The text was updated successfully, but these errors were encountered: