summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-10-16 12:31:56 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-10-16 12:31:56 +0200
commit1fd8cc0f4129f049e43f5b46b77a49ff8c6134cb (patch)
tree3d50b4eb93a87dfaa1833ba3a3508666dcc81c3a
parent6d8804f78bd110df180beb72fc41f9f094c004db (diff)
rss plugin: strip feed title of initial/final whitespace
-rw-r--r--data/rbot/plugins/rss.rb2
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