diff options
author | bumper314 <me@saudette.net> | 2017-01-18 04:47:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-01-18 12:47:15 +0100 |
commit | 5bd571f499baff36176f073bd3ab879114ad6890 (patch) | |
tree | 2b0a4d634e63b74e15604251a07b9869b6c52d89 | |
parent | 117f3d2323b37fdd035acc1bf88e74af19482ddb (diff) | |
download | pandoc-5bd571f499baff36176f073bd3ab879114ad6890.tar.gz |
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
-rw-r--r-- | data/sample.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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 |