Skip to content

Links created with {@link } are converted to lower case #2356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
posva opened this issue Aug 2, 2023 · 3 comments
Closed

Links created with {@link } are converted to lower case #2356

posva opened this issue Aug 2, 2023 · 3 comments
Labels
needs reproduction Needs a minimal reproducible case - https://gist.github.com/Rich-Harris/88c5fc2ac6dc941b22e7996af05d

Comments

@posva
Copy link

posva commented Aug 2, 2023

Search terms

This was reported before and I think even fixed:

Expected Behavior

Links should preserve the case to avoid conflicts

Actual Behavior

I think the .toLowerCase() was added at some point again but I couldn't really find which place needed the patch so I didn't open a PR 😓

Steps to reproduce the bug

Here is an example of the code creating a lower case link:

export function rtdbPlugin() {}

/**
 * @see {@link rtdbPlugin}.
 */
export const databasePlugin = rtdbPlugin

Environment

  • Typedoc version: latest
  • TypeScript version: 5
  • Node.js version: 18
@posva posva added the bug label Aug 2, 2023
@Gerrit0 Gerrit0 added the needs reproduction Needs a minimal reproducible case - https://gist.github.com/Rich-Harris/88c5fc2ac6dc941b22e7996af05d label Aug 11, 2023
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Aug 11, 2023

This is working as expected for me, please make sure your node_modules folder is up to date.

@Dayday10
Copy link

Dayday10 commented Aug 12, 2023 via email

@posva
Copy link
Author

posva commented Aug 12, 2023

You are right, this was related to an markdown plugin and the need of an option preserveAnchorCasing: true in such plugin

@posva posva closed this as not planned Won't fix, can't repro, duplicate, stale Aug 12, 2023
@Gerrit0 Gerrit0 removed the bug label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction Needs a minimal reproducible case - https://gist.github.com/Rich-Harris/88c5fc2ac6dc941b22e7996af05d
Projects
None yet
Development

No branches or pull requests

3 participants