about summary refs log tree commit diff stats
path: root/html/elements_test.go
diff options
context:
space:
mode:
authorMarkus Wüstenberg2024-06-25 14:47:01 +0200
committerGitHub2024-06-25 14:47:01 +0200
commita79e6d9d10099c418846280ae4a4997e82f6efee (patch)
tree891cf8bab622debc139cf1de38b8b347a97293b0 /html/elements_test.go
parent1c0ceb44a530632be2d591eafcadea2ba481a682 (diff)
downloadgomponents-a79e6d9d10099c418846280ae4a4997e82f6efee.tar.lz
gomponents-a79e6d9d10099c418846280ae4a4997e82f6efee.tar.zst
gomponents-a79e6d9d10099c418846280ae4a4997e82f6efee.zip
Add LabelEl (#180)
For consistency with the other name clashes. Also, adjust the readme.

I know it's a bit weird to add a pre-deprecated function, but know it's
the same as the other functions.
Diffstat (limited to 'html/elements_test.go')
-rw-r--r--html/elements_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/html/elements_test.go b/html/elements_test.go
index ffb225a..88688f4 100644
--- a/html/elements_test.go
+++ b/html/elements_test.go
@@ -79,6 +79,7 @@ func TestSimpleElements(t *testing.T) {
 		{Name: "ins", Func: Ins},
 		{Name: "kbd", Func: Kbd},
 		{Name: "label", Func: Label},
+		{Name: "label", Func: LabelEl},
 		{Name: "legend", Func: Legend},
 		{Name: "li", Func: Li},
 		{Name: "main", Func: Main},