diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-10-16 12:31:56 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-10-16 12:31:56 +0200 |
commit | 1fd8cc0f4129f049e43f5b46b77a49ff8c6134cb (patch) | |
tree | 3d50b4eb93a87dfaa1833ba3a3508666dcc81c3a /data/rbot/plugins/rss.rb | |
parent | 6d8804f78bd110df180beb72fc41f9f094c004db (diff) |
rss plugin: strip feed title of initial/final whitespace
Diffstat (limited to 'data/rbot/plugins/rss.rb')
-rw-r--r-- | data/rbot/plugins/rss.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 7c1d2dbe..f0224a94 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -1153,7 +1153,7 @@ class RSSFeedsPlugin < Plugin report_problem("no items found in the feed, maybe try weed?", e, m) return nil end - feed.title = title + feed.title = title.strip feed.items = items return true end |