diff --git a/otouto/plugins/twitter.lua b/otouto/plugins/twitter.lua index b96b9a8..145503a 100644 --- a/otouto/plugins/twitter.lua +++ b/otouto/plugins/twitter.lua @@ -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