int htmlEndIndex = htmlText.indexOf('>', htmlStartIndex);
// If we have unmatched '<' without '>' stop or we
// get into infinate loop.
if (htmlEndIndex < 0) {
//#ifdef DLOGGING
if (finerLoggable) {logger.finer("No end > for htmlStartIndex,htmlText=" + htmlStartIndex + "," + htmlText);}
if (finerLoggable) {logger.finer("plainText=" + plainText);}
//#endif
break;
}
htmlText = htmlText.substring(htmlEndIndex+1);