From 8429456f1edd2043b339a383a215d26438572f30 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Tue, 17 Sep 2024 10:11:33 +0400 Subject: [PATCH] Fix errors --- lib/repubmark/elems/footnote.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/repubmark/elems/footnote.rb b/lib/repubmark/elems/footnote.rb index 015a7a4..180701e 100644 --- a/lib/repubmark/elems/footnote.rb +++ b/lib/repubmark/elems/footnote.rb @@ -39,10 +39,10 @@ module Repubmark end result += %(#{link_text}) 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|