Skip to content

Commit 38002ff

Browse files
committed
Default img tag with no children nodes
1 parent 7e3d1a0 commit 38002ff

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Flame/HTML/Element.purs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -640,11 +640,8 @@ ol_ = createElement_ "ol"
640640
ol' :: forall a h. ToHtml' a h
641641
ol' = createElement' "ol"
642642

643-
img :: forall a b h. ToHtml a b h
644-
img = createElement "img"
645-
646-
img' :: forall a h. ToHtml' a h
647-
img' = createElement' "img"
643+
img :: forall a h. ToHtml' a h
644+
img = createElement' "img"
648645

649646
optgroup :: forall a b h. ToHtml a b h
650647
optgroup = createElement "optgroup"

0 commit comments

Comments
 (0)