code: func extractTagName(s string) string {
  	tagName := strings.Split(strings.Split(s, sharp)[0], dot)[0]
  
  	if tagName == "" {
  		tagName = tagNameDiv
  	}
  
  	return tagName
  }
docs: // extractTag extracts and returns a tag.