From fe1259a29f6597eaa46b7833bbcd3acc2e7c7a75 Mon Sep 17 00:00:00 2001 From: WevrLabs <66124192+WevrLabs@users.noreply.github.com> Date: Sun, 23 Aug 2020 16:28:19 +0200 Subject: [PATCH] feat: Update styles, Add support for Arabic text in emails (#1088) Co-authored-by: Pranav Raj S --- .../conversation_reply_mailer/reply_with_summary.html.erb | 2 +- .../conversation_reply_mailer/reply_without_summary.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb b/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb index 31648f2b8..5e182a273 100644 --- a/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb +++ b/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb @@ -9,7 +9,7 @@ - + <% if message.content %> <%= message.content %> <% end %> diff --git a/app/views/mailers/conversation_reply_mailer/reply_without_summary.html.erb b/app/views/mailers/conversation_reply_mailer/reply_without_summary.html.erb index 950db5867..54f607c33 100644 --- a/app/views/mailers/conversation_reply_mailer/reply_without_summary.html.erb +++ b/app/views/mailers/conversation_reply_mailer/reply_without_summary.html.erb @@ -1,5 +1,5 @@ <% @messages.each do |message| %> -

+

<% if message.content %> <%= message.content.gsub("\n", "
").html_safe %> <% end %>