code: func generateDoc(htmlSrc string) string {
  	tokenizer := xhtml.NewTokenizer(strings.NewReader(htmlSrc))
  	tokens := buildTokenArray(tokenizer)
  	scopes := findScopes(tokens)
  	return walk(scopes)
  }
docs: // generateDoc will generate the proper doc string for html encoded or plain text doc entries.