-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mj-raw modifies the raw value #485
Comments
This is a probably problem with the current parser system. You might be better off running the template engine on the mjml code before handing it over to mjml. |
I'd love to but how to do I do that from within a .Net application?
|
Hey @brianharwell, @rogierslag is perfectly right, this is an issue with our parser when Would that work until we implement a new parser? |
I'll give it a shot! |
It's fixed in the latest MJML 4 beta! Install with |
Dont think that fix for this work... So seams like < symbol breaking parser while > is working fine |
I am trying to incorporate mjml into my application and I'm trying to use razor or t4 for a templating engine. The issue I am having is that the mjml parser doesn't leave the contents of mj-raw alone. Instead it tries to make it "right".
Take for example
<#@ #>
This is perfectly valid T4 code but mjml converts it to<#@ #=""></#@>
I think whatever is inserted in the mj-raw tags should be completely ignored by the mjml parser.
The text was updated successfully, but these errors were encountered: