-
-
Notifications
You must be signed in to change notification settings - Fork 100
Inline styles with Ruby code change double quotes to single #1262
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
Comments
Sorry, nevermind. I read about replacing prettier-ruby with syntax_tree, and did that instead. Problem solved! 👍 🎉 😄 |
I think this might still be an issue based on the most recent version of syntax_tree-haml, so I'll check this out. |
I think you might be right. Does the HAML plugin work with VSCode at this point? I thought it was working because it wasn't replacing the quotes, but with further use I realized it's not doing anything, lol. |
v1.3.1 of the HAML plugin is out now and should be fixed. The HAML plugin works with VSCode, you need to specify it in the list of plugins in the configuration section of VSCode though, and make sure it's available in your Ruby path. |
Metadata
@prettier/plugin-ruby
orprettier
gem version: latestsyntax_tree
version: latestI think this changed recently because of changes to syntax_tree: #1233
If the string contains Ruby code, it shouldn't change to single quotes.
Input
Current output
Expected output
The text was updated successfully, but these errors were encountered: