Merge remote-tracking branch 'upstream/main'
2 files changed, 5 insertions(+), 0 deletions(-)
changed files
M html/elements.go → html/elements.go
@@ -230,6 +230,10 @@ func OptGroup(children ...g.Node) g.Node { return g.El("optgroup", children...) } +func Output(children ...g.Node) g.Node { + return g.El("output", children...) +} + func Option(children ...g.Node) g.Node { return g.El("option", children...) }
M html/elements_test.go → html/elements_test.go
@@ -94,6 +94,7 @@ {Name: "object", Func: Object}, {Name: "ol", Func: Ol}, {Name: "optgroup", Func: OptGroup}, {Name: "option", Func: Option}, + {Name: "output", Func: Output}, {Name: "p", Func: P}, {Name: "picture", Func: Picture}, {Name: "pre", Func: Pre},