gsub "&" for twitter.lua

This commit is contained in:
Akamaru 2015-06-15 16:45:26 +02:00
parent d3c7322222
commit c817c774b1

View File

@ -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