diff --git a/lib/repubmark/elems/footnote.rb b/lib/repubmark/elems/footnote.rb index 180701e..167d1b6 100644 --- a/lib/repubmark/elems/footnote.rb +++ b/lib/repubmark/elems/footnote.rb @@ -37,11 +37,10 @@ module Repubmark result += "\n" end end - result += %(#{link_text}) + result += %(#{link_text}\n) else - result += link_text.to_s + result += "#{link_text}\n" if link_text end - result += "\n" result += @caption.to_html.to_s if alt_urls&.any? result += %[(#{