code: func Text(node *html.Node) string {
  	joiner := func(s []string) string {
  		n := 0
  		for i := range s {
  			trimmed := strings.TrimSpace(s[i])
  			if trimmed != "" {
  				s[n] = trimmed
  				n++
  			}
  		}
  		return strings.Join(s[:n], " ")
  	}
  	return TextJoin(node, joiner)
  }
docs: // Text returns text from all descendant text nodes joined.
  // For control over the join function, see TextJoin.