Make documentation more consistent

This commit is contained in:
Martin Angers
2021-10-25 20:31:05 -04:00
parent a8c788f298
commit 7a43c97117
+2 -2
View File
@@ -58,8 +58,8 @@ func nodeName(node *html.Node) string {
}
}
// Render renders the html of the first element from selector and writes it to
// the writer. It behaves the same as OuterHtml but writes to w instead of
// Render renders the HTML of the first item in the selection and writes it to
// the writer. It behaves the same as OuterHtml but writes to w instead of
// returning the string.
func Render(w io.Writer, s *Selection) error {
if s.Length() == 0 {