diff --git a/app/models/channel/email_build.rb b/app/models/channel/email_build.rb index 034d5783d..b0692648f 100644 --- a/app/models/channel/email_build.rb +++ b/app/models/channel/email_build.rb @@ -158,7 +158,7 @@ Check if string is a complete html document. If not, add head and css styles. # use block form because variable html could contain backslashes and e. g. '\1' that # must not be handled as back-references for regular expressions - Rails.configuration.html_email_body.sub('###html###') {html} + Rails.configuration.html_email_body.sub('###html###') { html } end =begin