Not a bug anchor urls prefix with -

briansol

Well-known member
Affected version
2.3
Heading Anchors add extra '-' to start #-link-here

view source of this:

Link Here​


This breaks old bookmark links to bookmarked sections by heading.

is:
#-link-here

Should be:
#link-here
 
Prior versions did not have headings at all, and heading anchors in 2.3 have always been prefixed with -, unless I'm misunderstanding.

Also the title of this thread seems unrelated.
 
I have some bookmark urls saved, perhaps it was from a plugin but i'm not sure/can't think of which one it might be.

tested on a 2.2 board and it does not link, you're right.

either way i still think it looks odd
 
Maybe, but they need a prefix of some sort to ensure that anchors outside of posts cannot be overwritten.
 
Back
Top Bottom