}
}
anchor = newAnchor;
}
fToCSet.add(anchor);
SectionHeader strPair = new SectionHeader(headLevel, startPosition, endPosition, tocHead, anchor);
addToTableOfContent(fTableOfContent, strPair, headLevel);
if (getRecursionLevel() == 1) {
buildEditLinkUrl(fSectionCounter++);
}
spanTagNode.addAttribute("class", "mw-headline", true);