From 3a99b91334a44d59c43240b4610cd53eaa30dbb8 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Thu, 5 Dec 2019 19:05:36 +0100 Subject: [PATCH] Fix a quirk for type render in the default format. --- docs/config.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config.ld b/docs/config.ld index 90f7faa4..3a906f56 100644 --- a/docs/config.ld +++ b/docs/config.ld @@ -168,9 +168,9 @@ local function default_format_callback(self, params, _, md) end if params.type then - ret = ret .. '('.. + ret = ret .. ''.. md("`"..params.type.value.."`").. - ")" + "" end return ret.." "..md(params.description)