-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Bug: Can't preserve backticks #261
Comments
Will check if this is a bug Could you check that your input is really valid? Seems there is a missing backtick? Could you check if it's a regression of ff0715c#diff-4ade25325a6cd7d1cca619364c84d19bfa47e6939a2c1b38d065767255b8f86eR168 So could you try roll back a version (to 1.15.x) and see if it's "fixed" then? If so, I think I will have time next weekend to fix that |
Sorry, I had full code and removed the unwanted class so I missed the ending backtick but my input is correct. Will try your suggestion of rolling back and will let you know. |
I found out that it is a specific bug for And yes, it was introduced by the mentioned change |
Hi, I've roll back to 1.15.x and the bug doesn't exist anymore. Maybe your changes affected the way prettier interpret backticks. |
Yes ! The only way I can reproduce the bug is on the id attr. |
The fix need to be applied here Lines 790 to 848 in 39c50ce
|
Info
Prettier config
Input
Output or Error
Expected Output
Additional Context
roundness
is a global variable:So, How can I make this plugin preserve backtick when I save in vs code?
The text was updated successfully, but these errors were encountered: