Skip to content

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

@LinusBorg

Description

@LinusBorg

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions