NuGet / NuGetGallery

NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
https://www.nuget.org/
Apache License 2.0
1.54k stars 644 forks source link

[NuGet.org Bug]: Incorrect markdown link anchor name #9732

Open i2van opened 10 months ago

i2van commented 10 months ago

Impact

It bothers me. A fix would be nice

Describe the bug

Link https://www.nuget.org/packages/LPRun/#lprun.net-versions is generated from the header LPRun .NET Versions. This is not correct. Expected link should be https://www.nuget.org/packages/LPRun/#lprun-net-versions

Repro Steps

  1. Navigate to Link https://www.nuget.org/packages/LPRun/#lprun.net-versions
  2. Navigation succeeded to LPRun .NET Versions.
  3. Navigate to Link https://www.nuget.org/packages/LPRun/#lprun-net-versions
  4. Navigation failed.

Expected Behavior

Generated link should be:

https://www.nuget.org/packages/LPRun/#lprun-net-versions

Expected to be generated as HitHub does:

https://github.com/i2van/CsvLINQPadDriver/tree/net_8_support/Src/LPRun#lprun-net-versions

Screenshots

image

Additional Context and logs

No response

joelverhagen commented 10 months ago

cc @lyndaidaii who is our Markdown expert.