From 8a1b16429de76b9efd47f9a203dd07621819abc6 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Sat, 6 Aug 2016 22:36:02 +0200 Subject: [PATCH] =?UTF-8?q?IMDB:=20Fix=20Inline=20f=C3=BCr=20einige=20Film?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- otouto/plugins/imdb.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/otouto/plugins/imdb.lua b/otouto/plugins/imdb.lua index 18ccac5..56e66bc 100644 --- a/otouto/plugins/imdb.lua +++ b/otouto/plugins/imdb.lua @@ -48,6 +48,8 @@ function imdb:inline_callback(inline_query, config, matches) end local text = text:gsub('"', '\\"') local text = text:gsub("'", "\'") + local description = description:gsub('"', '\\"') + local description = description:gsub("'", "\'") if movie_info.Poster == "N/A" then img_url = 'https://anditest.perseus.uberspace.de/inlineQuerys/imdb/logo.jpg'