diff --git a/app/mailers/user_notifications.rb b/app/mailers/user_notifications.rb index 9029341d9..6f2345137 100644 --- a/app/mailers/user_notifications.rb +++ b/app/mailers/user_notifications.rb @@ -275,7 +275,7 @@ class UserNotifications < ActionMailer::Base context_posts = context_posts.to_a if context_posts.present? - context << "---\n*#{I18n.t('user_notifications.previous_discussion')}*\n" + context << "-- \n*#{I18n.t('user_notifications.previous_discussion')}*\n" context_posts.each do |cp| context << email_post_markdown(cp) end diff --git a/lib/email/receiver.rb b/lib/email/receiver.rb index fdaaddea3..cb45b7d8b 100644 --- a/lib/email/receiver.rb +++ b/lib/email/receiver.rb @@ -143,7 +143,7 @@ module Email end def previous_replies_regex - @previous_replies_regex ||= /^---\n\*#{I18n.t("user_notifications.previous_discussion")}\*\n/im + @previous_replies_regex ||= /^--[- ]\n\*#{I18n.t("user_notifications.previous_discussion")}\*\n/im end def trim_discourse_markers(reply)