From 3bcd1fc6672df2e8a36002caa206f67eb0e5781f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 29 Sep 2020 20:12:12 +0800 Subject: =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=AE=8C=E6=88=90=E7=9A=84=20display?= =?UTF-8?q?Context?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/provider/markdown.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script-beta/provider/markdown.lua') 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 -- cgit v1.2.3