lib/feedjira/podcast/channel/atom.rb in feedjira-podcast-0.9.10 vs lib/feedjira/podcast/channel/atom.rb in feedjira-podcast-0.9.11
- old
+ new
@@ -37,10 +37,10 @@
base.include(InstanceMethods)
["self", "hub"].each do |rel|
[:"atom:link", :"atom10:link"].each do |ns|
base.element ns, with: { rel: rel }, as: "atom_#{rel}_link_href".to_sym, value: :href do |href|
- Addressable::URI.parse(href)
+ Addressable::URI.parse(href.strip)
end
base.element ns, with: { rel: rel }, as: "atom_#{rel}_link_rel".to_sym, value: :rel
base.element ns, with: { rel: rel }, as: "atom_#{rel}_link_type".to_sym, value: :type
end
end