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

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