You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before you submit an issue we recommend you drop into the Gitter community and ask any questions you have or mention any problems you've had getting started with prettyhtml.
Hi @octref thanks for the bug report. The current behavior is correct but this is tricky because the template tag isn't whitespace sensitive but when it will be replaced it will create a different result. I think we should add the template tag to the list so that the nodes are handled as not collapsable.
Before you submit an issue we recommend you drop into the Gitter community and ask any questions you have or mention any problems you've had getting started with prettyhtml.
🐛 Bug Report
vuejs/vetur#1018
Related: prettier/prettier#5596
When user explicitly choose to put elements in multiple lines, prettyhtml should not put them in the same line (and break whitespace).
To Reproduce
Steps to reproduce the behavior: Format it in https://prettyhtml.netlify.com/
Paste your markup here:
Expected behavior
Whitespace is preserved.
Paste the results here:
Instead the result is:
which could render as "wasnot found" in the end.
Context
Your Environment
Latest on https://prettyhtml.netlify.com.
The text was updated successfully, but these errors were encountered: