all repos — htmlformat @ 09c40dba2914e2ee98debf136f9d159b45f38b15

Go package and CLI tool used to format HTML

fix indentation of script/style tags

Alan Pearce
commit

09c40dba2914e2ee98debf136f9d159b45f38b15

parent

54f5496cd6f828fb782b2b90f183efe4a07ec95b

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M format_test.goformat_test.go
@@ -53,12 +53,12 @@ input: `test 123`,
expected: `test 123` + "\n", }, { - name: "script tags are not formatted", + name: "script tags are only indented", input: `<script> var x = 1; </script>`, expected: `<script> - var x = 1; + var x = 1; </script>` + "\n", }, {