diff --git a/app/models/channel/email_build.rb b/app/models/channel/email_build.rb index e578bdf84..a7a0fb42b 100644 --- a/app/models/channel/email_build.rb +++ b/app/models/channel/email_build.rb @@ -115,7 +115,7 @@ module Channel::EmailBuild content_disposition: attachment.preferences['Content-Disposition'] || 'attachment', content_type: attachment.preferences['Content-Type'], mime_type: attachment.preferences['Mime-Type'], - content: attachment.content, + content: attachment.content } end end @@ -146,39 +146,76 @@ Check if string is a complete html document. If not, add head and css styles.
#{html}