-
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
With Angular templating, <script> and <style> sections are formatted incorrectly #2260
Comments
This issue was created based on this comment. @bitwiseman I see that in VSCode, an option will be added to specifically turn on angular templating. With this in mind, I suggest we remove the I started fixing this issue, I just have to write some tests meanwhile, I am waiting for your reply and then if you'd like me to, I can create a PR. |
I think you included the Yes, please remove. |
…-flow-and-script-style-tags-indentation Fixed #2260 - <style> and <script> tags indentation if also indenting angular control flows
Description
When using angular templating (with indent_handlebars) and trying to format a .html file which has <style> tags with media query inside them, or <script> tags with a decorator, the code is not being formatted correctly.
Input
Expected Output
Actual Output
Steps to Reproduce
This can be reproduced by opening Beautifier IO, check if version is v1.15.1. The
Additional Settings (JSON)
should look like the following:Environment
Settings
The text was updated successfully, but these errors were encountered: