diff options
Diffstat (limited to 'script/provider/markdown.lua')
-rw-r--r-- | script/provider/markdown.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/script/provider/markdown.lua b/script/provider/markdown.lua index a8adbbef..c5765571 100644 --- a/script/provider/markdown.lua +++ b/script/provider/markdown.lua @@ -17,7 +17,11 @@ local function checkSplitLine(self) end function mt:add(language, text) - if not text or #text == 0 then + if not text then + return + end + text = tostring(text) + if #text == 0 then return end |