diff --git a/lua/lazy/help.lua b/lua/lazy/help.lua index d2eba65..a41602f 100644 --- a/lua/lazy/help.lua +++ b/lua/lazy/help.lua @@ -18,6 +18,7 @@ function M.index(plugin) if title then local tag = plugin.name .. "-" .. title:lower():gsub("%W+", "-") tag = tag:gsub("%-+", "-"):gsub("%-$", "") + line = line:gsub("([%[%]/])", "\\%1") tags[tag] = { tag = tag, line = line, file = plugin.name .. ".md" } end end