# File lib/asciidoctor/abstract_node.rb, line 204 def media_uri(target, asset_dir_key = 'imagesdir') if target.include?(':') && target.match(Asciidoctor::REGEXP[:uri_sniff]) target elsif asset_dir_key && attr?(asset_dir_key) normalize_web_path(target, @document.attr(asset_dir_key)) else normalize_web_path(target) end end