intersystems / isc-codetidy

MIT License
2 stars 5 forks source link

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

Open isc-egabhart opened 3 months ago

isc-egabhart commented 3 months ago

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 commented 2 months ago

This actually looks less related to script tags causing language mislabeling but rather cases where we have &html< Githubissues.

  • Githubissues is a development platform for aggregating issues.