lib/feedjira/podcast/channel/image.rb in feedjira-podcast-0.9.10 vs lib/feedjira/podcast/channel/image.rb in feedjira-podcast-0.9.11
- old
+ new
@@ -4,16 +4,16 @@
class Image
include SAXMachine
include FeedUtilities
element :url do |url|
- Addressable::URI.parse(url)
+ Addressable::URI.parse(url.strip)
end
element :title
element :link do |link|
- Addressable::URI.parse(link)
+ Addressable::URI.parse(link.strip)
end
element :width, &:to_f
element :height, &:to_f
element :description