lib/jekyll/assets/plugins/html/pic.rb in jekyll-assets-3.0.7 vs lib/jekyll/assets/plugins/html/pic.rb in jekyll-assets-3.0.8
- old
+ new
@@ -34,10 +34,10 @@
# --
def complex(doc)
@args[:img] ||= {}
args = @args.to_h(html: true, skip: HTML.skips)
- @args[:img][:src] = asset.digest_path
+ @args[:img][:src] = @args[:src]
_, sources = kv
doc.picture @args[:picture] do
Array(sources).each do |w|
w, d = w.to_s.split(%r!\s+!, 2)