autodoc: fix rendering of function arguments

This commit is contained in:
Loris Cro 2022-06-13 00:33:24 +02:00 committed by Andrew Kelley
parent 8ec34eb046
commit ad7bc57919

View File

@ -1847,7 +1847,7 @@ var zigAnalysis;
fnDecl: opts.fnDecl,
linkFnNameDecl: opts.linkFnNameDecl,
});
payloadHtml += '<span class="tok-kw">' + escapeHtml(name) + '</span>';
payloadHtml += '<span class="tok-kw">' + name + '</span>';
} else if ("binOpIndex" in value) {
payloadHtml += exprName(value, opts);
}else if ("comptimeExpr" in value) {