2005-07-15
dedbob
When you have the UseHeading option enabled to pull the highest level heading from the page to use as the link, it seems that it doesn't trim the spaces that generally separate the heading name from the equal signs that surround it. For instance:
====== My wiki page ======
When you link to this page with:
[[My wiki page]]
the clickable link will be:
"My wiki page "
Normally, this isn't a problem, since html/php ignores multiple spaces in a row, but if you use the link somewhere where a certain character should immediately follow it -- at the end of a sentence where a period immediately follows, for instance -- the problem stands out immediately:
Please visit [[My wiki page]].
will be displayed as:
Please visit "My wiki page ".
This behavior is also exhibited in the breadcrumbs at the top of the page. If you hover your mouse over the links, you will see that the space following each link name is part of the link itself. However, the last (current) link in the breadcrumbs is correctly trimmed and does not exhibit this bug. For example:
Trace: "Some page ">> "My wiki page ">> "Some other page ">> "Current page"