TitleNamed Anchors
Date04-Dec-2004 23:48:30 EET
VersionJSPWiki 2.1.86-alpha
Browser version Internet Explorer 6.0 SP1
PageProvider usedVersioningFileProvider
Servlet ContainerTomcat 4.1
Operating SystemWindows 2K
Java version1.4.1

On 2003-10-10 Janne Jalkanen wrote http://www.ecyrd.com/~jalkanen/JSPWiki/2.1.86-alpha/ChangeLog:

        * v2.1.78.

        * Headings now generate a named anchor.  This enables things like
        page contents.  The current scheme is
        '#section-<pagename>-<heading>', where both the <pagename> and
        <heading> are WikiNames.  The WikiName of the heading is done in
        exactly the same way as with normal WikiPages.  For more
        information, see NamedHeadings in the jspwiki_samplepages.zip.
        Suggested by Paul Downes.

The generated named anchors do not respect (wrong word i know ;-) ) german special charakters (umlaute).

Eg: in Sandbox

is translated to
<h4><a name="section-Sandbox-%C4">Ä</a></h4>

Cause of this headlines with special charakters can not be used for handmade page contents.

--Heinz-Josef Lücking

Actually, I think your word is correct. Hm. Actually, this was the best way I could think of doing it; URIs do not allow any characters outside US-ASCII, so we have to encode them somehow.

-- Janne Jalkanen

Fixed in 2.1.133.

-- JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-4) was last changed on 06-Jan-2005 17:02 by Administrator