-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
lang="" on a html tag produces "VueCompilerError: Invalid end tag." #2566
Comments
Sorry for closing the other issue too soon. As the original reproduction was too big, I tried to reproduce with a hello-world project. When I tried It is because I missed a critical part of the bug - besides the |
It's a bug in |
Right, makes sense that is in the compiler, I didn't know where exactly the bug was, because the vue ast thing worked fine. |
A temporary workaround: use |
For a case like this where you add attributes to native elements, wouldn't the |
|
Oh, didn't know that :) Thanks for the clarification |
Version
16.0.0-rc.0
Reproduction link
https://github.com/xPaw/vue-loader-lang-bug
Steps to reproduce
Clone my repro project,
yarn
andyarn webpack
.Template:
What is expected?
Compilation succeeds
What is actually happening?
Removing
lang=""
attribute fixes this.vuejs/vue-loader#1726 was closed as not being able to repro, but it still won't compile.
The text was updated successfully, but these errors were encountered: