diff --git a/app/views/email/_post.html.erb b/app/views/email/_post.html.erb index 42bb7afb836..6a324e301d4 100644 --- a/app/views/email/_post.html.erb +++ b/app/views/email/_post.html.erb @@ -23,7 +23,7 @@ - <%= format_for_email(post, use_excerpt) %> + <%= format_for_email(post, use_excerpt, :notification) %> diff --git a/lib/email/styles.rb b/lib/email/styles.rb index 38c1050d043..a8d646ddff1 100644 --- a/lib/email/styles.rb +++ b/lib/email/styles.rb @@ -110,9 +110,6 @@ module Email style('aside.quote div.info-line', 'color: #666; margin: 10px 0') style('aside.quote .avatar', 'margin-right: 5px; width:20px; height:20px') - # regular post quotes - style('aside .title', 'border-left: 5px solid #e9e9e9; background-color: #f8f8f8; margin: 0; padding-left: 1em; padding-top: 10px;') - style('aside .title img', 'margin-left: 5px;') style('blockquote', 'border-left: 5px solid #e9e9e9; background-color: #f8f8f8; margin: 0;') style('blockquote > p', 'padding: 1em;')