-
Notifications
You must be signed in to change notification settings - Fork 97
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
Top-level <script>
tag formatted incorrectly
#344
Labels
bug
Something isn't working
Comments
Rolaka
added a commit
to Rolaka/prettier-plugin-svelte
that referenced
this issue
Feb 5, 2023
Fix attributeRegex that correctly match attributes that are not enclosed in quotes. fix sveltejs#344
Rolaka
added a commit
to Rolaka/prettier-plugin-svelte
that referenced
this issue
Feb 5, 2023
Fix attributeRegex that correctly match attributes that are not enclosed in quotes. fix sveltejs#344
Rolaka
added a commit
to Rolaka/prettier-plugin-svelte
that referenced
this issue
Feb 5, 2023
Fix attributeRegex that correctly match attributes that are not enclosed in quotes. fix sveltejs#344
Rolaka
added a commit
to Rolaka/prettier-plugin-svelte
that referenced
this issue
Feb 5, 2023
Fix attributeRegex that correctly match attributes that are not enclosed in quotes. fix sveltejs#344
Rolaka
added a commit
to Rolaka/prettier-plugin-svelte
that referenced
this issue
Feb 5, 2023
Fix attributeRegex that correctly match attributes that are not enclosed in quotes. fix sveltejs#344
Tried to fix the regex, tested against some examples.
|
dummdidumm
added a commit
that referenced
this issue
Mar 22, 2023
Fix attributeRegex so that it correctly matches attributes that are not enclosed in quotes. fix #344 --------- Co-authored-by: Simon Holthausen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Prettier: v2.8.3
prettier-plugin-svelte: v2.9.0
Input
Attribute value without quotes.
Actual Output
The
=
char is removed.Expected Output
It should add quotes, not remove the
=
.I can provide more detail if you need.
The text was updated successfully, but these errors were encountered: