Skip to content
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

Combine custom tags with no HTML escaping #114

Closed
davidanthoff opened this issue May 27, 2020 · 4 comments
Closed

Combine custom tags with no HTML escaping #114

davidanthoff opened this issue May 27, 2020 · 4 comments

Comments

@davidanthoff
Copy link

How can I combine custom tags with the option to not do the HTML escaping?

In particular, I have a call like this:

Mustache.render(file, content, vals, tags = ("\$[[", "]]"))

I would have thought that $[[{JL_VERSION_MATRIX}]] would work (i.e. use the custom tag to demark a substitution, and then one pair of curly braces to prevent the HTML escaping), but that doesn't seem to be the case.

@jverzani
Copy link
Owner

jverzani commented May 27, 2020

Thanks! This should work as you expected. I think #115 will address this. Please let me know if you bump into other issues.

jverzani added a commit that referenced this issue May 27, 2020
@davidanthoff
Copy link
Author

Awesome, thanks!

I can't really test this with a version that isn't tagged, though (the whole thing is part of a complicated automated github action setup). Could you maybe tag a new release?

@jverzani
Copy link
Owner

Should be tagged now.

@davidanthoff
Copy link
Author

Works perfectly now, thanks a lot for the quick turnaround!

jverzani added a commit that referenced this issue Aug 10, 2020
* close issue #114

* add optlevel, update CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants