Forums › Forums › General Questions › Table fo Contents adds number to HTML anchor › Reply To: Table fo Contents adds number to HTML anchor
-
Hi @DJTechReviews ! The numbers are added deliberately to the anchors to ensure the anchor links would still work properly even if two or more headings have the same text. The anchors are generated while the headings are being edited within the editor, and comparing headings with each other to check for duplicates (and rename the subsequent headings with the same text) would slow the editor when more headings are present. Doing neither would go against existing recommendations for HTML syntax and lead to the second (and further) headings with the same text becoming inaccessible from the Table of Contents.