Merge branch 'master' of ssh://git.ikiwiki.info

master
Joey Hess 2011-07-29 12:54:39 +02:00
commit d4128e8995
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ BTW, ikiwiki doesn't displays the #foo anchor in the example
>> Fixed that --[[Joey]]
>>> Sorry to bring this up (1 year since last change in this page) but what is the status of this? Can we use anchors like it's in [[wikilink]]? This discusion is tagged as wishlist, but isn't listed in [[wishlist]]. What is "fixed that" then? Again, sorry if this is a dead issue, but I have a tendency to create big wiki pages, and anchors are very needed for me, but I've spent all morning trying to make it work and it just doesn't. TY. --rbern
The 'name' attribute of the 'a' element is a depracated way to create a named anchor. The right way to do that is using the 'id' attribute of any element. This is because an anchor may refer to a complete element rather than some point in the page.
Standard purity aside, if you define an anchor (using either 'a name' or 'id') to a single point in the document but refer to a complete section, the browser may just show that specific point at the bottom of the page rather than trying to show all the section.