diff --git a/lib/asciidoctor/foodogsquared/converters/html5-extended.rb b/lib/asciidoctor/foodogsquared/converters/html5-extended.rb index 5e6a4d6..460e480 100644 --- a/lib/asciidoctor/foodogsquared/converters/html5-extended.rb +++ b/lib/asciidoctor/foodogsquared/converters/html5-extended.rb @@ -148,7 +148,8 @@ module Asciidoctor::Foodogsquared::Converters fallback_text = html.document.parse "Download the video at #{sources_download_links.join ', '}." else video['src'] = node.attr 'target' - fallback_text = html.document.parse "Download the video at #{node.attr 'target'}." + link = %(#{node.attr 'target'}) + fallback_text = html.document.parse "Download the video at #{link}." end video.add_child fallback_text