Skip to content

Commit

Permalink
Move attr
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Nov 10, 2023
1 parent ff99e32 commit 99eba4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elem.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ var voidElements = map[string]struct{}{
// attribute represents the "true" value. To represent the "false" value, the attribute has to be omitted.
// See https://html.spec.whatwg.org/multipage/indices.html#attributes-3 for reference
var booleanAttrs = map[string]struct{}{
attrs.AllowFullScreen: {},
attrs.Async: {},
attrs.Autofocus: {},
attrs.Checked: {},
Expand All @@ -45,7 +46,6 @@ var booleanAttrs = map[string]struct{}{
attrs.Readonly: {},
attrs.Required: {},
attrs.Selected: {},
attrs.AllowFullScreen: {},
}

type Node interface {
Expand Down

0 comments on commit 99eba4d

Please sign in to comment.