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"
|
||||
end
|
||||
end
|
||||
result += %(<a href="#{url}">#{link_text}</a>)
|
||||
result += %(<a href="#{url}">#{link_text}</a>\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 += %[(#{
|
||||
|
|
Loading…
Reference in a new issue