mirror of
https://github.com/foo-dogsquared/asciidoctor-foodogsquared-extensions.git
synced 2025-01-30 22:57:56 +00:00
Update fallback text for video block
This commit is contained in:
parent
e0aed2313d
commit
bb0e461197
@ -148,7 +148,8 @@ module Asciidoctor::Foodogsquared::Converters
|
|||||||
fallback_text = html.document.parse "Download the video at #{sources_download_links.join ', '}."
|
fallback_text = html.document.parse "Download the video at #{sources_download_links.join ', '}."
|
||||||
else
|
else
|
||||||
video['src'] = node.attr 'target'
|
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
|
end
|
||||||
|
|
||||||
video.add_child fallback_text
|
video.add_child fallback_text
|
||||||
|
Loading…
Reference in New Issue
Block a user