From 5060c42fabcc575de0dabbd3b184dcc9d48a8684 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Wed, 12 Oct 2016 22:36:06 +0200 Subject: [PATCH] Leck mich doch... --- miku/plugins/rss.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/miku/plugins/rss.lua b/miku/plugins/rss.lua index af35b1f..0d33378 100644 --- a/miku/plugins/rss.lua +++ b/miku/plugins/rss.lua @@ -338,25 +338,25 @@ function rss:cron() if string.len(v2.content) > 250 then content = cleanRSS(content) content = unescape(content) - content = '\n'..string.sub(content, 1, 250)..'...' + content = string.sub(content, 1, 250)..'...' else content = cleanRSS(content) - content = '\n'..unescape(content) + content = unescape(content) end elseif v2.summary then content = v2.summary:gsub("%b<>", "") if string.len(v2.summary) > 250 then content = cleanRSS(content) content = unescape(content) - content = '\n'..string.sub(content, 1, 250)..'...' + content = string.sub(content, 1, 250)..'...' else content = cleanRSS(content) - content = '\n'..unescape(content) + content = unescape(content) end else content = '' end - text = text..'\n[#RSS] '..title..'\n'..feed_title..''..utilities.trim(content)..'\nAuf '..link_name..' ansehen.\n' + text = text..'\n[#RSS] '..title..'\n'..feed_title..'\n'..utilities.trim(content)..'\nAuf '..link_name..' ansehen.\n' end if text ~= '' then local newlast = newentr[1].id