From bb0e4611972db5562ae729aa503dc49f9930d9e6 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 24 Nov 2023 20:29:20 +0800 Subject: [PATCH] Update fallback text for video block --- lib/asciidoctor/foodogsquared/converters/html5-extended.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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