autodoc: Fix rendering of function arguments named _

This commit is contained in:
Krzysztof Wolicki 2023-06-18 14:40:15 +00:00
parent 3180a371e8
commit e9da87866c

View File

@ -2375,6 +2375,9 @@ const NAV_MODES = {
if (paramName != null) {
// skip if it matches the type name
if (!shouldSkipParamName(paramValue, paramName)) {
if (paramName === "") {
paramName = "_";
}
payloadHtml += paramName + ": ";
}
}