-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
<raw> tags are not escaping {{ }} variables #421
Comments
Looks like 394d0ae introduced this 🤦♂️ It's basically parsing expressions twice, so the second time it sees just I'll have to revert that commit and try to tackle support for expressions in layout attributes right in Thanks for spotting this! |
(ugly) solution until I fix this: <raw>
<p>Hey @{{ .Name }}!</p>
</raw> |
I'm looking into removing this line in the framework/src/generators/posthtml.js Line 57 in adfdcd4
I remember there was a reason why we needed to run the expressions plugin last, but I just can't remember. Need to test this more... |
OK, so some of the reasons we evaluate expressions last were the Right now this also breaks the |
@cossssmin Thanks for turning this around so quickly. I used maizzle for the first time earlier this week and only noticed this issue when trying to generate templates to use with SendGrid. Nice to see the bug has already been sorted. What is the best way to upgrade to v3.2.1? Update the global CLI or the dependency in |
Bump the |
This is essentially #171 come back. If I downgrade to framework
3.1.6
, it works fine.Example
This markup —
is turned to —
in framework
3.2.0
.The text was updated successfully, but these errors were encountered: