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
v-html error for commented(inactive) children elements #10741
Comments
HTML comments are indeed considered as nodes. |
This is expected. Some external tools rely on HTML comments for functioning, so overriding comments with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vue version
3
Link to minimal reproduction
not exists
Steps to reproduce
jus a div with v-html and some children that commented
error: [plugin:vite:vue] v-html will override element children.
What is expected?
actualy after commenting children. there is not any children in parent
What is actually happening?
probably cant recognize commented children are inactive
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: