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