Skip to content

Commit eb49d0e

Browse files
Add "canvas" as a container tag
1 parent 1b06dd6 commit eb49d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hiccup/core.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
(def ^{:doc "A list of tags that need an explicit ending tag when rendered." :private true}
6262
container-tags
63-
#{"a" "b" "body" "dd" "div" "dl" "dt" "em" "fieldset" "form" "h1" "h2" "h3"
63+
#{"a" "b" "body" "canvas" "dd" "div" "dl" "dt" "em" "fieldset" "form" "h1" "h2" "h3"
6464
"h4" "h5" "h6" "head" "html" "i" "iframe" "label" "li" "ol" "option" "pre"
6565
"script" "span" "strong" "style" "textarea" "ul"})
6666

0 commit comments

Comments
 (0)