From e8cde570187f75352bfaf7a1f0c4d513838b0414 Mon Sep 17 00:00:00 2001 From: Leandre17 Date: Sat, 8 Feb 2025 12:14:27 +0100 Subject: [FIX] useless return --- .gitignore | 3 +++ _extensions/leandre-filter/leandre.lua | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e4c696a --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/.luarc.json +*_files/ +*.html \ No newline at end of file diff --git a/_extensions/leandre-filter/leandre.lua b/_extensions/leandre-filter/leandre.lua index 71466b0..f129624 100644 --- a/_extensions/leandre-filter/leandre.lua +++ b/_extensions/leandre-filter/leandre.lua @@ -1,12 +1,6 @@ function Str(el) - quarto.log.output("Found text: " .. el.text) -- Debug line if el.text:find("Leandre") then - quarto.log.output("Found Leandre!") -- Debug line el.text = el.text:gsub("Leandre", "Léandre") end return el end - -return { - {'Str', Str} -} \ No newline at end of file -- cgit v1.2.3