tools: avoid generating duplicate id attributes · nodejs/node@b6a0afc · GitHub
Skip to content

Commit b6a0afc

Browse files
Trottdanielleadams
authored andcommitted
tools: avoid generating duplicate id attributes
In all.html, we currently generate hundreds of duplicate id attributes because of conflicts between the way allhtml.mjs prefixes in-page links with the module name on the one hand, and the existence of legacy id attributes hardcoded into the page on the other hand. This prefaces the module name with `all_` to avoid the conflicts. PR-URL: #41291 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 720fad8 commit b6a0afc

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tools/doc/allhtml.mjs

Lines changed: 7 additions & 7 deletions

0 commit comments

Comments
 (0)