That, or some sort of html parsing. Agreed, less easy than testing the html tag.