Add `cite` attribute (#192) It can appear in a `<blockquote>`. - Closes https://github.com/maragudk/gomponents/issues/189 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
1 file changed, 4 insertions(+), 0 deletions(-)
changed files
M html/attributes.go → html/attributes.go
@@ -101,6 +101,10 @@ func Charset(v string) g.Node { return g.Attr("charset", v) } +func CiteAttr(v string) g.Node { + return g.Attr("cite", v) +} + func Class(v string) g.Node { return g.Attr("class", v) }