Fix errors
This commit is contained in:
parent
e29c3202fe
commit
8429456f1e
1 changed files with 2 additions and 2 deletions
|
@ -39,10 +39,10 @@ module Repubmark
|
||||||
end
|
end
|
||||||
result += %(<a href="#{url}">#{link_text}</a>)
|
result += %(<a href="#{url}">#{link_text}</a>)
|
||||||
else
|
else
|
||||||
result += link_text
|
result += link_text.to_s
|
||||||
end
|
end
|
||||||
result += "\n"
|
result += "\n"
|
||||||
result += @caption.to_html
|
result += @caption.to_html.to_s
|
||||||
if alt_urls&.any?
|
if alt_urls&.any?
|
||||||
result += %[(#{
|
result += %[(#{
|
||||||
alt_urls.map do |alt_url|
|
alt_urls.map do |alt_url|
|
||||||
|
|
Loading…
Reference in a new issue