Last modified: 2011-03-13 18:06:45 UTC
[[#]] should result in href="#", but it's stripped,
same effect as http://en.wikipedia.org/wiki/ with
my browser. A crude workaround preserving the # is
What is the point in an empty anchor ? We just ignore it
when it is empty, no point in having a link pointing to nothing.
See http://www.ietf.org/rfc/rfc1630.txt: "If the fragment-id is void, the hash
sign may be omitted: A void fragment-id with or without the hash sign means that
the URL refers to the whole object." However, see what the difference is (if
any) between these two links in your browser:
In Firefox, at least, the former reloads the page, the latter jumps to the top
of the page.
Well, except that Bugzilla's URL-capturing doesn't accept empty fragments
either. You'll have to manually enter it into the URL bar to see.
Yes, I know I shouldn't have triple-posted, but anyway, all pages have id
globalWrapper at the very top. Use that instead; it's a standards-compliant way
of achieving the same effect.