html_tag.go
func extractClasses(s string) []string {
	var classes []string

	for i, token := range strings.Split(s, dot) {
		if i == 0 {
			continue
		}

		class := strings.Split(token, sharp)[0]

		if class == "" {
			continue
		}

		classes = append(classes, class)
	}

	return classes
}
func extractClasses(s string) []string {
	var classes []string

	for i, token := range strings.Split(s, dot) {
		if i == 0 {
			continue
		}

		class := strings.Split(token, sharp)[0]

		if class == "" {
			continue
		}

		classes = append(classes, class)
	}

	return classes
}
func extractClasses ( s string ) [ ] string { var classes [ ] string for i , token := range strings . Split ( s , dot ) { if i == 0 { continue } class := strings . Split ( token , sharp ) [ 0 ] if class == " " { continue } classes = append ( classes , class ) } return classes }
// extractClasses extracts and returns classes.
extractClasses extracts and returns classes .