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

Fix indentation of javascript within <script> tag within embedded HTML #47

Open
isc-egabhart opened this issue Aug 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@isc-egabhart
Copy link
Collaborator

CodeTidy is set to omit embedded HTML from auto-indentation fixes. If there is a script tag within the HTML for javascript then syntax coloring treats this the same as embedded js causing inconsistent indentation and potential syntax errors in the code. Should also ignore script blocks within HTML.

@isc-egabhart isc-egabhart self-assigned this Aug 1, 2024
@isc-egabhart isc-egabhart added the bug Something isn't working label Aug 1, 2024
@isc-egabhart
Copy link
Collaborator Author

This actually looks less related to script tags causing language mislabeling but rather cases where we have &html<<script> without whitespace in between the two open angle brackets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant