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

Regression in 1.0.7: double quotes not allowed in attribute value #2250

Closed
HugoMuller opened this issue Dec 23, 2022 · 0 comments
Closed

Regression in 1.0.7: double quotes not allowed in attribute value #2250

HugoMuller opened this issue Dec 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@HugoMuller
Copy link

Hi,

I think there might be a regression in Volar 1.0.7. This used to work before:

<template>
  <input type="text" placeholder='Example: "something"'>
</template>

Since 1.0.7 it produces the following errors:

No value exists in scope for the shorthand property 'something'. Either declare one or provide an initializer. ts(18004)
')' expected. ts(1005)

Screenshot 2022-12-23 at 12 41 34

So now I cannot use double quotes in my attributes anymore.

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Dec 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants