code: func HTMLEscapeString(s string) string {
  	// Avoid allocation if we can.
  	if strings.IndexAny(s, `'"&<>`) < 0 {
  		return s
  	}
  	var b bytes.Buffer
  	HTMLEscape(&b, []byte(s))
  	return b.String()
  }
docs: // HTMLEscapeString returns the escaped HTML equivalent of the plain text data s.