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
Bad parsing when bound data contains a backtick #3273
Labels
Comments
As a temporary workaround, you can bypass the issue by escaping the backtick.
For anyone investigating, it seems that the issue doesn't occur when the array contains only a single element. |
@skyronic what RegExp tool is that? looks very useful... |
@LinusBorg - I used https://www.debuggex.com/ very handy! |
@skyronic thx! I use http://rubular.com/ a lot. It tests with the ruby lib but works fine too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vue.js version
1.0.26
Reproduction Link
http://codepen.io/sirlancelot/pen/zBPVBo?editors=1010#0
Steps to reproduce
What is Expected?
What is actually happening?
scope.
is being added to everything between the backtick and an escaped quote.We're using props to curry an initial data model from the server to the browser. We're doing it in a manner similar to the example shown in the CodePen. Basically, our root Vue instance contains a list of props that will show up on the element and are populated by the server.
The text was updated successfully, but these errors were encountered: