Update fallback text for video block

This commit is contained in:
Gabriel Arazas 2023-11-24 20:29:20 +08:00
parent e0aed2313d
commit bb0e461197
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -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 = %(<a href="#{node.attr 'target'}">#{node.attr 'target'}</a>)
fallback_text = html.document.parse "Download the video at #{link}."
end
video.add_child fallback_text