errorResult.addReplacement(
contents.substring(tag.getEndIndex(), tag.getMatchingTag().getBeginIndex()),
GT._("Remove <small> tags"));
}
if (!tag.isComplete() && !tag.isFullTag() && !tag.isEndTag()) {
errorResult.addReplacement(
PageElementTag.createTag(PageElementTag.TAG_HTML_SMALL, true, false));
}
errors.add(errorResult);
if (tag.isComplete()) {
tagIndex = PageElementTag.getMatchingTagIndex(tags, tagIndex);