about summary refs log tree commit diff stats
path: root/el/media.go
diff options
context:
space:
mode:
Diffstat (limited to 'el/media.go')
-rw-r--r--el/media.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/el/media.go b/el/media.go
index 4a19865..89787da 100644
--- a/el/media.go
+++ b/el/media.go
@@ -5,5 +5,5 @@ import (
 )
 
 func Img(src, alt string, children ...g.Node) g.NodeFunc {
-	return g.El("img", prepend2(g.Attr("src", src), g.Attr("alt", alt), children)...)
+	return g.El("img", g.Attr("src", src), g.Attr("alt", alt), g.Group(children))
 }