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

Allow html void tags #73

Merged
merged 3 commits into from
Apr 23, 2024
Merged

Conversation

rdimartino
Copy link

Hello!

I've been trying to figure out how to get prettier to format my .html.erb files. It seems like https://github.com/adamzapasnik/prettier-plugin-erb is a dead project. But this project you've been working on may be the best way to go.

I have a branch of prettier-plugin-ruby that adds this gem and it's working great. (I also have eyes on this issue which I think would be a great step toward ultimately getting this included as part of the plugin for ruby)

This fix came from trying to use this gem to format my .html.erb files. I was running into syntax errors for void elements that were not explicitly self-closing.

Thanks!

Copy link
Owner

@davidwessman davidwessman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

@davidwessman davidwessman merged commit b91d2b8 into davidwessman:main Apr 23, 2024
3 checks passed
@davidwessman
Copy link
Owner

Tagged and cut v0.11.0 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants