indent content of script and style tags
1 file changed, 14 insertions(+), 0 deletions(-)
changed files
M format_test.go → format_test.go
@@ -62,6 +62,20 @@ </li> </ul> `, }, + { + name: "style content is indented consistently", + input: `<style> +body { + text-color: red; +} +</style>`, + expected: `<style> + body { + text-color: red; + } +</style> +`, + }, } for _, test := range tests {