x/pkgsite: links in README.md are having the #anchor stripped so don't link to a subsection of the external doc #59826
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/speakeasy-api/speakeasy-client-sdk-go#section-readme
What is your user agent?
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Screenshot
What did you do?
Clicking any of the links in the render Readme section of the pkg.go.dev page for a module, will take you to a link for example https://github.com/speakeasy-api/speakeasy-client-sdk-go/blob/v1.15.1/docs/apiendpoints/README.md which is missing the anchor that was originally in the README.md ie https://github.com/speakeasy-api/speakeasy-client-sdk-go/blob/v1.15.1/docs/apiendpoints/README.md#findapiendpoint
What did you expect to see?
That anchor's are retained when rendering the links in the readme section.
What did you see instead?
The anchors are removed and there for the links don't link to the same place as the original markdown links
The text was updated successfully, but these errors were encountered: