Fix a quirk for type render in the default format.

This commit is contained in:
Aire-One 2019-12-05 19:05:36 +01:00
parent 05e92672d6
commit 3a99b91334

View file

@ -168,9 +168,9 @@ local function default_format_callback(self, params, _, md)
end
if params.type then
ret = ret .. '<span class="parameter">('..
ret = ret .. '<span class="types">'..
md("`"..params.type.value.."`")..
")</span>"
"</span>"
end
return ret.." "..md(params.description)