From aade77281e640f52c1ee19d9336493d953bacc2c Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Mon, 19 Aug 2024 13:01:33 +0300 Subject: Add `cite` attribute (#192) It can appear in a `
`. - Closes https://github.com/maragudk/gomponents/issues/189 Signed-off-by: Yarden Shoham --- html/elements.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'html/elements.go') diff --git a/html/elements.go b/html/elements.go index f676462..32752ea 100644 --- a/html/elements.go +++ b/html/elements.go @@ -73,6 +73,11 @@ func Cite(children ...g.Node) g.Node { return g.El("cite", children...) } +// Deprecated: Use [Cite] instead. +func CiteEl(children ...g.Node) g.Node { + return Cite(children...) +} + func Code(children ...g.Node) g.Node { return g.El("code", children...) } -- cgit 1.4.1