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('%[.+]%','')