[ 
https://issues.apache.org/jira/browse/JSPWIKI-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585908#action_12585908
 ] 

Janne Jalkanen commented on JSPWIKI-228:
----------------------------------------

Your patch has a bit of a problem: if someone renames now one of the headings, 
or rearranges paragraphs, all heading anchors will be invalid, and all direct 
links to them will be broken.  Relying on the order of things is probably not 
very good.

> 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.

Reply via email to