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

Escape '{' and '}' characters in Sail #2

Closed
c-johnson opened this issue Oct 3, 2018 · 0 comments
Closed

Escape '{' and '}' characters in Sail #2

c-johnson opened this issue Oct 3, 2018 · 0 comments

Comments

@c-johnson
Copy link

In a sail context, I want to produce the following HTML:

Click!

In sail, curly brackets within strings denote interpolation:

;a(href "javascript:(function(){})()": Click!

Which fails, since the expression is empty

Just looking for a way to escape the curly brackets. Raw tape interpolation in the dojo accepts the \ as a valid escape character, but still includes the \ in the resulting string

"foo {<5>}"
"foo {<5>}"

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

1 participant