all repos — gomponents @ 935a601975fa7a15c7ddac097e075209e42974cc

HTML components in pure Go

Fix `cite` name clash example in readme

Markus Wüstenberg
commit

935a601975fa7a15c7ddac097e075209e42974cc

parent

aade77281e640f52c1ee19d9336493d953bacc2c

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M README.mdREADME.md
@@ -149,7 +149,7 @@ Unfortunately, there are six main name clashes in HTML elements and attributes, so they need an `El` or `Attr` suffix,
to be able to co-exist in the same package in Go. I've chosen one or the other based on what I think is the common usage. In either case, the less-used variant also exists in the codebase: -- `cite` (`CiteEl`/`Cite`, `CiteAttr` also exists) +- `cite` (`Cite`/`CiteAttr`, `CiteEl` also exists) - `data` (`DataEl`/`Data`, `DataAttr` also exists) - `form` (`Form`/`FormAttr`, `FormEl` also exists) - `label` (`Label`/`LabelAttr`, `LabelEl` also exists)