diff --git a/lib/email/receiver.rb b/lib/email/receiver.rb index 18e3e2dfbc4..71c2d9e9bac 100644 --- a/lib/email/receiver.rb +++ b/lib/email/receiver.rb @@ -292,7 +292,7 @@ module Email if attachment.content_type.start_with?("image/") && options[:raw][/\[image: .+ \d+\]/] options[:raw].sub!(/\[image: .+ \d+\]/, attachment_markdown(upload)) else - options[:raw] << "\n#{attachment_markdown(upload)}\n" + options[:raw] << "\n\n#{attachment_markdown(upload)}\n\n" end end ensure