gsub "&" for twitter.lua
This commit is contained in:
parent
d3c7322222
commit
c817c774b1
@ -34,6 +34,7 @@ function run(msg, matches)
|
|||||||
|
|
||||||
local header = "Tweet von " .. response.user.name .. " (@" .. response.user.screen_name .. ")\n"
|
local header = "Tweet von " .. response.user.name .. " (@" .. response.user.screen_name .. ")\n"
|
||||||
local text = response.text
|
local text = response.text
|
||||||
|
text = string.gsub(text, "&", "&")
|
||||||
|
|
||||||
-- replace short URLs
|
-- replace short URLs
|
||||||
if response.entities.url then
|
if response.entities.url then
|
||||||
|
Reference in New Issue
Block a user