diff --git a/doc/controllers/doccontroller.lua b/doc/controllers/doccontroller.lua index fcd1701..7895789 100644 --- a/doc/controllers/doccontroller.lua +++ b/doc/controllers/doccontroller.lua @@ -44,7 +44,7 @@ local post_process_md = function(str, obj) local pattern = capture:gsub("%[", "%%["):gsub("%]", "%%]") if apath then --apath = utils.urlencode(apath):gsub("%%", "%%%%") - content = str:gsub(pattern, + content = content:gsub(pattern, "") end end