From 46cc4a8f2b19577f8c1642a7077bcb6b741c0941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Winterhalter?= Date: Fri, 25 Oct 2024 14:04:29 +0200 Subject: [PATCH] Fix --- pandoc/paper.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandoc/paper.lua b/pandoc/paper.lua index 3f1baae..efa3bef 100644 --- a/pandoc/paper.lua +++ b/pandoc/paper.lua @@ -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 ""