diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-10-02 00:14:38 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-10-02 00:14:38 +0200 |
commit | cb28ba4452d4902e6abf7c714d9e66466357d06e (patch) | |
tree | d35790f8defd74f10f67f7c6e86dccf4aef1d5dc /formatter | |
parent | 56f9526181c725edc0a1ede50fc86443d080c7a5 (diff) |
Remove whitespace
Diffstat (limited to 'formatter')
-rw-r--r-- | formatter/formatter.go | 2 |
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 { |