authorgravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2023-06-18 16:43:30+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2023-06-18 16:43:30+02:00
logc17a8df2fad6e0297bc8151d76090f55d5f17c95
treeb3766da59af7beb9f51417fa3a26d4818582cc20
parent3180a371e825e58a6aaadabff7350af25978b04e
parente9da87866cf089c8b9936a14a5a3262f54ee3dc0
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Merge pull request #16087 from der-teufel-programming/master

autodoc: Fix rendering of function arguments named `_`

1 files changed, 3 insertions(+), 0 deletions(-)

lib/docs/main.js+3
...@@ -2375,6 +2375,9 @@ const NAV_MODES = {...@@ -2375,6 +2375,9 @@ const NAV_MODES = {
2375 if (paramName != null) {2375 if (paramName != null) {
2376 // skip if it matches the type name2376 // skip if it matches the type name
2377 if (!shouldSkipParamName(paramValue, paramName)) {2377 if (!shouldSkipParamName(paramValue, paramName)) {
2378 if (paramName === "") {
2379 paramName = "_";
2380 }
2378 payloadHtml += paramName + ": ";2381 payloadHtml += paramName + ": ";
2379 }2382 }
2380 }2383 }