boolean formatOk = false;
// If current value position is the beginning of a comment, skip it
if ((valueChar == '<') &&
(analysis.isInComment(offset + valueIndex) != null)) {
PageElementComment comment = analysis.isInComment(offset + valueIndex);
formatOk = true;
valueIndex = comment.getEndIndex() - offset;
// If current value position is the beginning of a reference, skip it
} else if ((valueChar == '<') &&
(analysis.isInTag(offset + valueIndex, PageElementTag.TAG_WIKI_REF) != null)) {
PageElementTag tag = analysis.isInTag(offset + valueIndex, PageElementTag.TAG_WIKI_REF);