incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Jalkanen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-228) Headings with identical titles do not have different section IDs
Date Sat, 05 Apr 2008 19:13:24 GMT

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


Mime
View raw message