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

Component template content: html encoded chars in attributes are not properly decoded #8882

Closed
chessydk opened this issue Oct 1, 2018 · 1 comment

Comments

@chessydk
Copy link

chessydk commented Oct 1, 2018

Version

2.5.17

Reproduction link

https://codepen.io/chessydk/pen/ZqGqbr?editors=1010#0

Steps to reproduce

Hover over the "æøå".

What is expected?

I would expect html attributes to be html-decoded, just like text-nodes, so when you hover over the text you should see "æøå"

What is actually happening?

You see "æøå"


Context: Serving html from CMS backend as JSON and creating dynamic Vue component with the server-generated html, which can have danish characters in attributes (mostly in object-data bindings like :model="{prop: æøå}" , but the problem exists for all attributes.

@Justineo
Copy link
Member

Justineo commented Oct 1, 2018

Duplicate of #8805

@Justineo Justineo marked this as a duplicate of #8805 Oct 1, 2018
@Justineo Justineo closed this as completed Oct 1, 2018
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

2 participants