hashtag MakeWikipediaGreatAgain
This commit is contained in:
parent
b17c77eead
commit
a838ac1aa1
@ -62,11 +62,11 @@ local action = function(msg)
|
||||
return
|
||||
end
|
||||
|
||||
local l = text:find('<h2>')
|
||||
if l then
|
||||
text = text:sub(1, l-1)
|
||||
end
|
||||
text = text:gsub('</?.->', '')
|
||||
local l = text:find('\n')
|
||||
if l then
|
||||
text = text:sub(1, l-2)
|
||||
end
|
||||
|
||||
title = title:gsub('%(.+%)', '')
|
||||
--local output = '[' .. title .. '](' .. url .. ')\n' .. text:gsub('%[.+]%','')
|
||||
|
Reference in New Issue
Block a user