Merge pull request #412 from mitar/patch-1

There is no InnerHtml.
This commit is contained in:
Martin Angers
2022-04-23 19:05:04 -04:00
committed by GitHub

View File

@@ -73,7 +73,7 @@ func Render(w io.Writer, s *Selection) error {
// the selection - that is, the HTML including the first element's
// tag and attributes.
//
// Unlike InnerHtml, this is a function and not a method on the Selection,
// Unlike Html, this is a function and not a method on the Selection,
// because this is not a jQuery method (in javascript-land, this is
// a property provided by the DOM).
func OuterHtml(s *Selection) (string, error) {