[ https://issues.apache.org/jira/browse/JSPWIKI-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586035#action_12586035 ]
Janne Jalkanen commented on JSPWIKI-228: ---------------------------------------- Yes, keeping a track of the duplicate headings makes more sense, that way the anchors would be more robust. What I meant is that if I send you a link which says "look here, http://ourwiki/wiki/FooBar#section-heading-72", the link won't be usable after any edit to the page. So I would like to avoid that. > Headings with identical titles do not have different section IDs > ---------------------------------------------------------------- > > Key: JSPWIKI-228 > URL: https://issues.apache.org/jira/browse/JSPWIKI-228 > Project: JSPWiki > Issue Type: Bug > Components: Core & storage, Plugins > Affects Versions: 2.6.2 > Reporter: Alexander Chow > Attachments: JSPWIKI-228.patch > > > When two or more headings in a given wiki article have the same title, their > section IDs will be identical. The TableOfContents plugin will then not know > which section ID to go to and will most likely go to the first one found. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.