diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-09-09 13:59:03 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-09 13:59:03 +0200 |
commit | 96aef4c6a473e380b027a7b9db87cbbbcbae1cba (patch) | |
tree | bba1e01ed6d91c37a9fe91c4da783e781d56cfcd /formatter/formatter.go | |
parent | 18fcfbb8604110e3b533781e7d94ace35d6d8ea8 (diff) |
Fix bug when key has no value
Diffstat (limited to 'formatter/formatter.go')
-rw-r--r-- | formatter/formatter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formatter/formatter.go b/formatter/formatter.go index 5eae8b7..7d44891 100644 --- a/formatter/formatter.go +++ b/formatter/formatter.go @@ -46,7 +46,7 @@ func PrintHtml(ast parser.AstNode) { for _, a := range notClasses { fmt.Printf(" %s", a.Key) if a.Value == "" { - break + continue } fmt.Print("=\"") for _, r := range a.Value { |