Title | Named Anchors |
Date | 04-Dec-2004 23:48:30 EET |
Version | JSPWiki 2.1.86-alpha |
Submitter | ReinhardEngel |
Criticality | MediumBug |
Browser version | Internet Explorer 6.0 SP1 |
Status | ClosedBug |
PageProvider used | VersioningFileProvider |
Servlet Container | Tomcat 4.1 |
Operating System | Windows 2K |
URL | |
Java version | 1.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.
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.
Fixed in 2.1.133.
Add new attachment
Only authorized users are allowed to upload new attachments.