summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/rss.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index 8b132ba6..5cd1ada3 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -246,6 +246,8 @@ class RSSFeedsPlugin < Plugin
end
end
+ attr_reader :feeds
+
def initialize
super
if @registry.has_key?(:feeds)
@@ -729,9 +731,9 @@ class RSSFeedsPlugin < Plugin
end
end
- title = "#{Bold}#{item.title.chomp.riphtml}#{Bold}" if item.title
+ title = "#{Bold}#{item.title.ircify_html}#{Bold}" if item.title
- desc = item.description.gsub(/\s+/,' ').strip.riphtml if item.description
+ desc = item.description.ircify_html if item.description
link = item.link.chomp if item.link