summaryrefslogtreecommitdiff
path: root/script-beta/provider/markdown.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/provider/markdown.lua')
-rw-r--r--script-beta/provider/markdown.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/provider/markdown.lua b/script-beta/provider/markdown.lua
index 658107ae..56e7d8f1 100644
--- a/script-beta/provider/markdown.lua
+++ b/script-beta/provider/markdown.lua
@@ -3,7 +3,7 @@ mt.__index = mt
mt.__name = 'markdown'
function mt:add(language, text)
- if not text then
+ if not text or #text == 0 then
return
end
if language == 'md' then