Fix errors

This commit is contained in:
Alex Kotov 2024-09-17 10:11:33 +04:00
parent e29c3202fe
commit 8429456f1e
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -39,10 +39,10 @@ module Repubmark
end
result += %(<a href="#{url}">#{link_text}</a>)
else
result += link_text
result += link_text.to_s
end
result += "\n"
result += @caption.to_html
result += @caption.to_html.to_s
if alt_urls&.any?
result += %[(#{
alt_urls.map do |alt_url|