Skip to content

Commit 8b8928a

Browse files
authored
Merge pull request #7 from nwolverson/empty-non-void
> Empty non void tags
2 parents 3cdffbb + 011e0b4 commit 8b8928a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Halogen/VDom/StringRenderer.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ render getTagType renderAttrs renderWidget = go
4949
in
5050
"<" <> name <> (if S.null as then "" else " ") <> as <>
5151
if A.null children
52-
then if getTagType en == SelfClosingTag then "/>" else "</" <> name <> ">"
52+
then if getTagType en == SelfClosingTag then "/>" else "></" <> name <> ">"
5353
else ">" <> S.joinWith "" (map go children) <> "</" <> name <> ">"

0 commit comments

Comments
 (0)