From 0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 15 May 2015 20:30:18 +0200 Subject: make the feed items nicer. --- lib/rss2html/feed_item.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rss2html/feed_item.rb') 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 -- cgit v1.2.3