aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss2html/feed_item.rb
diff options
context:
space:
mode:
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