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

A way to allow duplicate attribute in @vue/compiler-dom #5076

Open
Niputi opened this issue Dec 8, 2021 · 1 comment
Open

A way to allow duplicate attribute in @vue/compiler-dom #5076

Niputi opened this issue Dec 8, 2021 · 1 comment
Labels
🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. scope: compiler

Comments

@Niputi
Copy link

Niputi commented Dec 8, 2021

What problem does this feature solve?

solves a parse failure in vitejs/vite#5966
according to mentioned issue, duplicate class attributes are allowed in html

related issue: #4883

Reproduction

What does the proposed API look like?

a new option to to allow duplicate attributes

@yyx990803 yyx990803 added scope: compiler 🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. labels Dec 10, 2021
@lidlanca
Copy link
Contributor

https://html.spec.whatwg.org/multipage/syntax.html#attributes-2

image

I wonder in what standard duplicate attributes are allowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. scope: compiler
Projects
None yet
Development

No branches or pull requests

3 participants