Escaping literal {{ #1786
Unanswered
Dave-McCraw
asked this question in
Q&A
Replies: 1 comment
-
This seems to work, as described in the docs:
Does this solve your issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having this issue in Wiremock, but I think it's my understanding of Handlebars that is at fault. Any pointers gratefully received.
I have something that looks like https://jsfiddle.net/65yotkvb/ where I need the literal
{{
to be preserved.Based on https://handlebarsjs.com/guide/expressions.html#escaping-handlebars-expressions I tried the following two approaches:
https://jsfiddle.net/3264c7jq/
https://jsfiddle.net/0n4t9d6r/
As you can see, neither of these is correct. I'd be happy to PR an improvement to the docs if anyone can help me figure out what I'm doing wrong.
Thanks!
D.
Beta Was this translation helpful? Give feedback.
All reactions