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

autodoc: Fix rendering of function arguments named `_`
This commit is contained in:
Loris Cro 2023-06-18 16:43:30 +02:00 committed by GitHub
commit c17a8df2fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 + ": ";
}
}