Skip to content

Commit

Permalink
fix error in script
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-ward committed Sep 30, 2018
1 parent 47b2fd7 commit acf294c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MarkdownEdit/Lib/task-list.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ end

--- Replace the todo marker in the given block, if any.
function M.replace_todo_markers (blk, format)
if blk == nil then
return blk;
end
if blk.t ~= 'Para' and blk.t ~= 'Plain' then
return blk
end
Expand Down

0 comments on commit acf294c

Please sign in to comment.