aboutsummaryrefslogtreecommitdiff
path: root/formatter/formatter.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-02 00:14:38 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-10-02 00:14:38 +0200
commitcb28ba4452d4902e6abf7c714d9e66466357d06e (patch)
treed35790f8defd74f10f67f7c6e86dccf4aef1d5dc /formatter/formatter.go
parent56f9526181c725edc0a1ede50fc86443d080c7a5 (diff)
Remove whitespace
Diffstat (limited to 'formatter/formatter.go')
-rw-r--r--formatter/formatter.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/formatter/formatter.go b/formatter/formatter.go
index 7ac41a6..633c067 100644
--- a/formatter/formatter.go
+++ b/formatter/formatter.go
@@ -53,12 +53,10 @@ func printAttrs(attrs []parser.Attr) {
classes = slices.DeleteFunc(classes, func(a parser.Attr) bool {
return a.Key != "class"
})
-
attrs = slices.DeleteFunc(attrs, func(a parser.Attr) bool {
return a.Key == "class"
})
-
if len(classes) > 0 {
fmt.Print(" class=\"")
for i, a := range classes {