lib/html2rss/item_extractor.rb in html2rss-0.2.2 vs lib/html2rss/item_extractor.rb in html2rss-0.3.0

- old
+ new

@@ -9,10 +9,10 @@ if href.start_with?('http') uri = URI(href) else uri = URI(options['channel']['url']) - uri.path = path.start_with?('/') ? path : "/#{path}" + uri.path = path.to_s.start_with?('/') ? path : "/#{path}" uri.query = query end uri }