Skip to content

Commit e6d89d3

Browse files
authored
fix(export.markdown): fix error on unexported verbatim tags without parameters (#1280)
fixes #1277
1 parent 2bdb89c commit e6d89d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neorg/modules/core/export/markdown/module.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ module.public = {
612612
end,
613613

614614
["ranged_verbatim_tag"] = function(output)
615-
if output[2]:match("^[ \t]+$") then
615+
if output[2] and output[2]:match("^[ \t]+$") then
616616
table.remove(output, 2)
617617
end
618618

0 commit comments

Comments
 (0)