-
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
Incorrect HTML formatting with "html.format.indentHandlebars": false #1127
Comments
Has the same cause as #1103. |
@aeschli could you show a bit more of your example?
Is that sufficient? |
@pierredewilde Can you help @bitwiseman ? |
Yep, the example is sufficient to show the correct output. Before the fix, the output was
After the fix, the output is
Ideally, in
but the current fix is OK. |
This would now be an enhancement. If we do not indent handlebars, they are treated as content, and then get indented like content. I see how the name could be confusing. |
Here is an extract of HTML (Angular 2) code:
After format with
"indentHandlebars": false
:instead of :
I expect unchanged Angular/handlebar indentation with
"indentHandlebars": false
Copied from original issue: microsoft/vscode#8144
The text was updated successfully, but these errors were encountered: