Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoWinterhalter committed Oct 25, 2024
1 parent 873d52f commit 46cc4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandoc/paper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function paper(content)
local data = pandoc.json.decode(content, false)

if not data then
error("Failed to decode JSON:\n" .. el.text)
error("Failed to decode JSON:\n" .. content)
end

local title = data.title or ""
Expand Down

0 comments on commit 46cc4a8

Please sign in to comment.