fix voor raar ampersand probleem

This commit is contained in:
Ward Wouts 2007-09-22 17:01:10 +00:00
parent 9a8e7fa0d8
commit c8b04f9f33
2 changed files with 13 additions and 13 deletions

View file

@ -152,7 +152,7 @@ def getenclosure(podcast, item)
date = Date.parse(pubdate.text).strftime("%Y%m%d")
end
if ! enclosure.nil? && ! enclosure.attribute("url").nil?
cast = enclosure.attribute("url").to_s.dup
cast = enclosure.attribute("url").value.to_s.dup
filename = cast.dup
filename.sub!(/^.*\//, "")
if @podcasts[podcast]["rename"]