From 5bd571f499baff36176f073bd3ab879114ad6890 Mon Sep 17 00:00:00 2001 From: bumper314 Date: Wed, 18 Jan 2017 04:47:15 -0700 Subject: Fix sample.lua barfing on Raw data (#3358) * Fix for "pandoc: user error (Incorrect result type (string expected, got nil))." when the source format contains Raw data. * Update sample.lua --- data/sample.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/sample.lua b/data/sample.lua index e23154a96..1e3a08731 100644 --- a/data/sample.lua +++ b/data/sample.lua @@ -173,6 +173,8 @@ end function RawInline(format, str) if format == "html" then return str + else + return '' end end @@ -321,6 +323,8 @@ end function RawBlock(format, str) if format == "html" then return str + else + return '' end end -- cgit v1.2.3