From a2435e70e8e07492bff8eec9a9c37f729ee49725 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 1 Aug 2016 15:40:57 +0200 Subject: [PATCH] Twitter: Fix, wenn Prozent in einer URL vorkommt --- otouto/plugins/twitter.lua | 1 + 1 file changed, 1 insertion(+) 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