htmlparser: handle colon in tag name.