prettier-plugin-void-html
prettier-plugin-void-html copied to clipboard
Use the void tag syntax
Hello @awmottaz, first of all, thank you for your great HTML5 support plugin for prettier. I work with angular and want to use your plugin for my Angular project and...
An issue arises with this plugin when handling nested void tags without a trailing newline character. The following is a POC to demonstrate this bug. **Unformatted:** ```html Example Document ```...
Closes https://github.com/awmottaz/prettier-plugin-void-html/issues/39
https://prettier.io/blog/2025/11/27/3.7.0
The implementation of this plugin is based on augmenting the built-in Prettier parser and printing logic. But this has limitations. Look into using a more "from-scratch" implementation by using [htmlparser2](https://github.com/fb55/htmlparser2)...