Skip to content

Commit

Permalink
fix(core.export): incorrect exporting of code blocks with no paramete…
Browse files Browse the repository at this point in the history
…rs (#701)
  • Loading branch information
vhyrro committed Jan 5, 2023
1 parent 4493c56 commit 0922815
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/neorg/modules/core/export/markdown/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,10 @@ module.public = {
end,

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

return output
end,

Expand Down

0 comments on commit 0922815

Please sign in to comment.