Fix a quirk for type render in the default format.
This commit is contained in:
parent
05e92672d6
commit
3a99b91334
|
@ -168,9 +168,9 @@ local function default_format_callback(self, params, _, md)
|
||||||
end
|
end
|
||||||
|
|
||||||
if params.type then
|
if params.type then
|
||||||
ret = ret .. '<span class="parameter">('..
|
ret = ret .. '<span class="types">'..
|
||||||
md("`"..params.type.value.."`")..
|
md("`"..params.type.value.."`")..
|
||||||
")</span>"
|
"</span>"
|
||||||
end
|
end
|
||||||
|
|
||||||
return ret.." "..md(params.description)
|
return ret.." "..md(params.description)
|
||||||
|
|
Loading…
Reference in New Issue