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

2.0.0-beta4: static href attribute content is being escaped (& becomes &) #3327

Closed
LinusBorg opened this issue Jul 26, 2016 · 0 comments
Closed
Labels

Comments

@LinusBorg
Copy link
Member

LinusBorg commented Jul 26, 2016

Vue.js version

2.0.0.-beta.4

Reproduction Link

Bug: https://jsfiddle.net/snmdsh2o/ (2.0.0-beta.4)

Working: https://jsfiddle.net/snmdsh2o/1/ (2.0.0-beta.3)

Steps to reproduce

Run App, click on the first link

What is Expected?

it take me to the google search results for "vuejs"

What is actually happening?

Ampersands in href attributes get escaped, therefore the link is broken.

Expected: http://google.com/?tbm=nws&q=vuejs
Wrong: http://google.com/?tbm=nws&q=vuejs

Originally reported on the forum: http://forum.vuejs.org/topic/4731/2-0-0-beta-all-links-on-the-page-broken-by-vue/

@LinusBorg LinusBorg changed the title static href attribute content is being escaped (& becomes &) 2.0.0-beta4: static href attribute content is being escaped (& becomes &) Jul 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants