code: func toJSONHelper(v interface{}) (template.HTML, error) {
  	b, err := json.Marshal(v)
  	if err != nil {
  		return "", errors.WithStack(err)
  	}
  	return template.HTML(b), nil
  }
docs: // toJSONHelper converts an interface into a string.