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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using Svelte with svelte-preprocessor. The following lines:
<script src="./index.ts"></script> <style src="./index.css"></style>
is formatted as:
<script src="./index.ts"> </script> <style src="./index.css"> </style>
My expected output should be the same as first one. Is this some kind of bug?
Thanks!
The text was updated successfully, but these errors were encountered:
With the current code the empty line will be gone and it turns it into:
<script src="./index.ts"> </script>
Sorry, something went wrong.
Make it possible to have script/style without newline
35ee647
If the content of a script/style tag is completely empty (no whitespace), don't add a hardline anymore. Fixes sveltejs#87
Make it possible to have script/style without newline (#176)
fff08aa
If the content of a script/style tag is completely empty (no whitespace), don't add a hardline anymore. Fixes #87
Successfully merging a pull request may close this issue.
I'm using Svelte with svelte-preprocessor. The following lines:
is formatted as:
My expected output should be the same as first one. Is this some kind of bug?
Thanks!
The text was updated successfully, but these errors were encountered: