From 5c814e9edd401c24b2dcd1c1e2c70211e3492d81 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Tue, 17 Sep 2024 10:11:33 +0400 Subject: [PATCH] Fix error --- lib/repubmark/elems/footnote.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repubmark/elems/footnote.rb b/lib/repubmark/elems/footnote.rb index 015a7a4..c79bf79 100644 --- a/lib/repubmark/elems/footnote.rb +++ b/lib/repubmark/elems/footnote.rb @@ -42,7 +42,7 @@ module Repubmark result += link_text end result += "\n" - result += @caption.to_html + result += @caption.to_html.to_s if alt_urls&.any? result += %[(#{ alt_urls.map do |alt_url|