aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss2html/feed_item.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-05-15 20:30:18 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-05-15 20:30:18 +0200
commit0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a (patch)
tree2c8ceaa8cff349e8d5418832a522f2c4aca4d540 /lib/rss2html/feed_item.rb
parent1beba4bae98c2d6af47283cc2fe21c88225f8f0d (diff)
downloadrss2html-0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a.tar.gz
rss2html-0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a.tar.bz2
rss2html-0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a.zip
make the feed items nicer.
Diffstat (limited to 'lib/rss2html/feed_item.rb')
-rw-r--r--lib/rss2html/feed_item.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rss2html/feed_item.rb b/lib/rss2html/feed_item.rb
index f632e3a..0f6ab2f 100644
--- a/lib/rss2html/feed_item.rb
+++ b/lib/rss2html/feed_item.rb
@@ -23,7 +23,7 @@ module Rss2Html
@author = item.author.name.content
@date = item.updated.content
@summary = item.summary.content.strip
- @url = item.link.href
+ @url = URI.parse(item.link.href)
end
end
end