gohtml
gohtml copied to clipboard
Indentation is removed from JS within <script> tags
Hi! Thanks for creating the gohtml
package. I'm using it in Orbiton for formatting HTML from within the editor.
However, JavaScript code that is embedded within <script>
tags seems to have indentation removed, so that:
<script>
if (1 + 1 == 2) {
x = 42
}
</script>
Is formatted like this:
<script>
if (1 + 1 == 2) {
x = 42
}
</script>