Skip to content

Commit

Permalink
fix(export.markdown): fix error on unexported verbatim tags without p…
Browse files Browse the repository at this point in the history
…arameters (#1280)

fixes #1277
  • Loading branch information
ALVAROPING1 authored Jan 28, 2024
1 parent 2bdb89c commit e6d89d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neorg/modules/core/export/markdown/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ module.public = {
end,

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

Expand Down

0 comments on commit e6d89d3

Please sign in to comment.