diff --git a/docgen/docgen.lua b/docgen/docgen.lua index 557f88d87..5277a909c 100644 --- a/docgen/docgen.lua +++ b/docgen/docgen.lua @@ -503,10 +503,10 @@ docgen.htmlify = function(configuration_option, indent) table = function() vim.list_extend(result, { "", - "
", + "
", "", - vim.tbl_islist(self.object) and "list (click to expand)" - or "table (click to expand)", + vim.tbl_islist(self.object) and "list (click to collapse)" + or "table (click to collapse)", "", }) local unrolled = neorg.lib.unroll(self.object)