Handle #anchor hyperlinks