chop off leading html tag, put in class and put back the tag