-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
html.format.wrapAttributes on handlebars template #1199
Comments
@aeschli |
Resulting text output:
|
I've discovered an similar issue on HTML templates which are used for Assemble-Templates. Before formatting (correct):
After formatting (wrong):
I think an applicable solution would be that the formatter ignores elements it does not know completely - i think thats the way other Editors handle that case (tested on Webstorm / Intellij IDEA). |
Just led here by trying to find why js-beautify breaks |
I just ran this in v1.8.0-rc14 and the actual output is unchanged from the input. I'm assuming this is the correct formatting. @ifahrentholz and @aeschli please let me know if this issue requires further attention. Just for reference, here is the actual output for the second given example:
|
From @ifahrentholz on May 25, 2017 13:41
Steps to Reproduce:
ifCond
statement on new lines - which causes a code bug.Copied from original issue: microsoft/vscode#27272
The text was updated successfully, but these errors were encountered: