You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something is wrong with the escaping mechanism for stache with steal.
I added a breaking test (not really a test but a demo page that shows the bug) in the stache-steal branch. To see the issue, check out this branch and run can/view/stache/test/test_steal.html
The issue appears to be that any single quotes in the template get escaped wrong and show up as undefined.
If the template is:
'hi'
It renders:
undefinedhiundefined
The same works fine in Mustache and works fine if you run can.view.stache("'hi'")()
The text was updated successfully, but these errors were encountered:
Something is wrong with the escaping mechanism for stache with steal.
I added a breaking test (not really a test but a demo page that shows the bug) in the stache-steal branch. To see the issue, check out this branch and run can/view/stache/test/test_steal.html
The issue appears to be that any single quotes in the template get escaped wrong and show up as undefined.
If the template is:
'hi'
It renders:
undefinedhiundefined
The same works fine in Mustache and works fine if you run can.view.stache("'hi'")()
The text was updated successfully, but these errors were encountered: