// int startEnd = lc.indexOf("</" + tags[level], endTag);
int startEnd = findMatchingEndTag(lc, endTag, tags[level], offset);
int endEnd = lc.indexOf(">", startEnd) + 1;
int startMore = lc.indexOf("<" + tags[level], endEnd);
if (startTag < 0 || endTag < 0 || startEnd < 0 || endEnd < 0) {
throw new FitParseException("Can't find tag: " + tags[level], offset);
}
leader = text.substring(0, startTag);
tag = text.substring(startTag, endTag);
body = text.substring(endTag, startEnd);