From 4a93b1b0bc89ec93c25512326d6860e91f384148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 15 Apr 2014 00:04:13 +0200 Subject: [PATCH] missed a newline --- lib/email/receiver.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/email/receiver.rb b/lib/email/receiver.rb index ca28308fddf..9fc25af104a 100644 --- a/lib/email/receiver.rb +++ b/lib/email/receiver.rb @@ -208,7 +208,8 @@ module Email create_post(user, options) end - def attachment_markdown(upload)if FileHelper.is_image?(upload.original_filename) + def attachment_markdown(upload) + if FileHelper.is_image?(upload.original_filename) "" else "#{upload.original_filename} (#{number_to_human_size(upload.filesize)})"