all repos — gomponents @ 4f9709afcc83b617f17f8e5757d58a55be7bf2cf

HTML components in pure Go

Document Text/Textf helpers better (#135) Both in the readme and package doc. Fixes #133.

Markus Wüstenberg
commit

4f9709afcc83b617f17f8e5757d58a55be7bf2cf

parent

b638b8b078ffedc76513aac30152ce36f2072814

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M gomponents.gogomponents.go
@@ -4,8 +4,8 @@ // The primary interface is a Node. It describes a function Render, which should render the Node
// to the given writer as a string. // // All DOM elements and attributes can be created by using the El and Attr functions. -// The functions Text, Textf, Raw, and Rawf can be used to create text nodes. -// See also helper functions Group, Map, and If. +// The functions Text, Textf, Raw, and Rawf can be used to create text nodes, either HTML-escaped or unescaped. +// See also helper functions Group, Map, and If for mapping data to Nodes and inserting them conditionally. // // For basic HTML elements and attributes, see the package html. // For higher-level HTML components, see the package components.