From 7e4aa50ffcb3bcd37d639755ec6f43089c4990ef Mon Sep 17 00:00:00 2001 From: James Vega Date: Wed, 17 Oct 2007 03:42:38 +0000 Subject: [PATCH] Fix the encoding problem in RSS.info for good. --- plugins/RSS/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/RSS/plugin.py b/plugins/RSS/plugin.py index 56ff9adc1..9edff10bc 100644 --- a/plugins/RSS/plugin.py +++ b/plugins/RSS/plugin.py @@ -416,11 +416,11 @@ class RSS(callbacks.Plugin): when = 'time unavailable' title = conv(info.get('title', 'unavailable')) desc = conv(info.get('description', 'unavailable')) + link = conv(info.get('link', 'unavailable')) # The rest of the entries are all available in the channel key response = format('Title: %s; URL: %u; ' 'Description: %s; Last updated: %s.', - title, info.get('link', 'unavailable').strip(), - desc, when) + title, link, desc, when) irc.reply(utils.str.normalizeWhitespace(response)) info = wrap(info, [first('url', 'feedName')])