From b17c77eeadba3c98f56836d32007c712342cf421 Mon Sep 17 00:00:00 2001 From: topkecleon Date: Sat, 20 Feb 2016 05:53:28 -0500 Subject: [PATCH] fixed bug in wikipedia.lua --- plugins/wikipedia.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wikipedia.lua b/plugins/wikipedia.lua index b43e785..6d0fe87 100755 --- a/plugins/wikipedia.lua +++ b/plugins/wikipedia.lua @@ -62,11 +62,11 @@ local action = function(msg) return end - text = text:gsub('', '') local l = text:find('

') if l then text = text:sub(1, l-1) end + text = text:gsub('', '') title = title:gsub('%(.+%)', '') --local output = '[' .. title .. '](' .. url .. ')\n' .. text:gsub('%[.+]%','')