diff --git a/types.go b/types.go index ca6fdb64e..52e845706 100644 --- a/types.go +++ b/types.go @@ -254,7 +254,7 @@ func (e Element) isVoidElement() bool { } var blockElements = map[string]struct{}{ - "address": {}, "article": {}, "aside": {}, "blockquote": {}, "canvas": {}, "dd": {}, "div": {}, "dl": {}, "dt": {}, "fieldset": {}, "figcaption": {}, "figure": {}, "footer": {}, "form": {}, "h1": {}, "h2": {}, "h3": {}, "h4": {}, "h5": {}, "h6": {}, "header": {}, "hr": {}, "li": {}, "main": {}, "nav": {}, "noscript": {}, "ol": {}, "p": {}, "pre": {}, "section": {}, "table": {}, "tfoot": {}, "ul": {}, "video": {}, + "address": {}, "article": {}, "aside": {}, "body": {}, "blockquote": {}, "canvas": {}, "dd": {}, "div": {}, "dl": {}, "dt": {}, "fieldset": {}, "figcaption": {}, "figure": {}, "footer": {}, "form": {}, "h1": {}, "h2": {}, "h3": {}, "h4": {}, "h5": {}, "h6": {}, "head": {}, "header": {}, "hr": {}, "html": {}, "li": {}, "main": {}, "nav": {}, "noscript": {}, "ol": {}, "p": {}, "pre": {}, "script": {}, "section": {}, "table": {}, "template": {}, "tfoot": {}, "turbo-stream": {}, "ul": {}, "video": {}, } func (e Element) isBlockElement() bool {