Skip to content
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] SCRIPT closing tag does not get aligned correctly #2247

Closed
johnyradio opened this issue Jan 25, 2016 · 2 comments
Closed

[html] SCRIPT closing tag does not get aligned correctly #2247

johnyradio opened this issue Jan 25, 2016 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues
Milestone

Comments

@johnyradio
Copy link

if i manually enter both <html> and </html> the closing html tag gets correctly indent-aligned with the opening tag automatically. But if i do the same with <script> and </script>, the closing tag does NOT get correctly auto-aligned.

in html file-type
vscode version 0.10.6

thx

@aeschli aeschli added the html HTML support issues label Jan 26, 2016
@aeschli aeschli self-assigned this Jan 26, 2016
@aeschli aeschli added this to the Backlog milestone Jan 27, 2016
@aeschli
Copy link
Contributor

aeschli commented Jan 27, 2016

The behavior for <script> is different as for content inside we switch to JavaScipt. The JavaScript engine doesn't (yet) know it I embedded.

@aeschli aeschli changed the title html SCRIPT closing tag does not get aligned correctly [html] SCRIPT closing tag does not get aligned correctly Jan 27, 2016
@aeschli aeschli added the bug Issue identified by VS Code Team member as probable bug label Jan 27, 2016
@aeschli
Copy link
Contributor

aeschli commented Feb 22, 2017

The indentation is corrected because is a completion proposals that you select.
For </script> we don't have such a proposal. This is #12787

@aeschli aeschli closed this as completed Feb 22, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues
Projects
None yet
Development

No branches or pull requests

2 participants