Twitter: Fix, wenn Prozent in einer URL vorkommt
This commit is contained in:
parent
089e5c7ca2
commit
a2435e70e8
@ -90,6 +90,7 @@ function twitter:action(msg, config, matches)
|
||||
for k, v in pairs(response.entities.urls) do
|
||||
local short = v.url
|
||||
local long = v.expanded_url
|
||||
local long = long:gsub('%%', '%%%%')
|
||||
text = text:gsub(short, long)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user