string values in html tags replaced with enum constants