diff --git a/lua/neorg/modules/core/qol/toc/module.lua b/lua/neorg/modules/core/qol/toc/module.lua index 77de4a500..9287625d8 100644 --- a/lua/neorg/modules/core/qol/toc/module.lua +++ b/lua/neorg/modules/core/qol/toc/module.lua @@ -177,6 +177,7 @@ module.public = { else prefix = nil end + title = nil elseif capture == "title" then title = node elseif capture == "cancelled" then