lib/isodoc/function/utils.rb in isodoc-2.9.2 vs lib/isodoc/function/utils.rb in isodoc-2.9.3
- old
+ new
@@ -202,9 +202,10 @@
img.name == "svg" && !img["src"] and
return save_svg(img)
case img["src"]
when /^data:/ then save_dataimage(img["src"], false)
when %r{^([A-Z]:)?/} then img["src"]
+ when nil then nil
else File.join(@localdir, img["src"])
end
end
LABELLED_ANCESTOR_ELEMENTS =