We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some instances of <label> are incorrectly formated with the closing %gt; being placed on a nerw line
--- --- <label >Text: <span>ss</span> </label>
Astro file as follows and run npx prettier -w .as described in the README
npx prettier -w .
--- --- <label>Text: <span>ss</span> </label>
The text was updated successfully, but these errors were encountered:
This is due to HTML whitespace sensitivity. See https://github.com/sveltejs/prettier-plugin-svelte#why-is-the-closing-or-opening-tag--or--hugging-the-inner-tag-or-text for more information on this subject.
Closing since this is not an issue, thank you for the report nonetheless!
Sorry, something went wrong.
The same thing seems to happens inside an HTML file. I think this might be normal Prettier behaviour?
You can see how Prettier formats this snippet in their playground.
No branches or pull requests
Describe the Bug
Some instances of <label> are incorrectly formated with the closing %gt; being placed on a nerw line
Steps to Reproduce
Astro file as follows and run
npx prettier -w .
as described in the READMEThe text was updated successfully, but these errors were encountered: