Skip to content

Commit

Permalink
Change boolean attrs to correct Go naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Nov 22, 2023
1 parent c3c0432 commit b910289
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions elem.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ 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.AllowFullscreen: {},
attrs.Async: {},
attrs.Autofocus: {},
attrs.Autoplay: {},
attrs.Checked: {},
attrs.Controls: {},
attrs.Defer: {},
attrs.Disabled: {},
attrs.IsMap: {},
attrs.Ismap: {},
attrs.Loop: {},
attrs.Multiple: {},
attrs.Muted: {},
attrs.NoValidate: {},
attrs.Novalidate: {},
attrs.Open: {},
attrs.Playsinline: {},
attrs.Readonly: {},
Expand Down

0 comments on commit b910289

Please sign in to comment.