lib/atom/element.rb in atom-tools-2.0.0 vs lib/atom/element.rb in atom-tools-2.0.1
- old
+ new
@@ -594,10 +594,10 @@
def self.parse xml, base = ''
e = super
# URL absolutization
- if e.base and e.href
+ if !e.base.empty? and e.href
e.href = (e.base.to_uri + e.href).to_s
end
e
end