ITADN

[v25] Anchors without `--` prefix

#757Openregseb 创建于 2026-04-07
good first issueLegacy Generator
R
regsebcommented
### Affected URL(s) https://nodejs.org/docs/latest-v25.x/api/cli.html#permission ### Description of the problem - In v24, HTML anchors have the prefix `--`. For example, for the heading `--permission`, the anchor is also [`--permission`](https://nodejs.org/docs/latest-v24.x/api/cli.html#--permission). - In v25, the prefix is removed. For the heading `--permission`, the anchor is [`permission`](https://nodejs.org/docs/latest-v25.x/api/cli.html#permission). The links haven't been changed, so they still go to the correct page, but they don't scroll to the right spot. > - File System - manageable through [--allow-fs-read](https://nodejs.org/docs/latest-v25.x/api/cli.html#--allow-fs-read), [--allow-fs-write](https://nodejs.org/docs/latest-v25.x/api/cli.html#--allow-fs-write) flags --- Either the problem comes from how the anchors are generated, or all the links need to be corrected.
3 条评论