Skip to content

v-html: HTML stripped from inline string literals #3324

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

Closed
chrisvfritz opened this issue Jul 25, 2016 · 0 comments
Closed

v-html: HTML stripped from inline string literals #3324

chrisvfritz opened this issue Jul 25, 2016 · 0 comments
Labels

Comments

@chrisvfritz
Copy link
Contributor

Here's a repro fiddle. Any HTML within inline string literals seems to be stripped, so that:

<p v-html="'<strong>hello</strong> world'"></p>

will compile to:

<p>hello world</p>

instead of what I would expect:

<p><strong>hello</strong> world</p>
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