Fixed links

Links to same-page anchors were treated as external links.