diff --git a/app/views/notifications/_notification.html.erb b/app/views/notifications/_notification.html.erb index 3c28a305e..e8b94486e 100644 --- a/app/views/notifications/_notification.html.erb +++ b/app/views/notifications/_notification.html.erb @@ -8,7 +8,7 @@ <%= notification_title(notification) %>
<% if notification.event.action == "commented" %> - <%= "#{ strip_tags(notification.event.comment.body_html).blank? ? "#{ notification.event.creator.name } replied" : "#{ notification.event.creator.name }:" } #{ strip_tags(notification.event.comment.body_html).truncate(200) }" %> + <%= "#{strip_tags(notification.event.comment.body_html).blank? ? "#{notification.event.creator.name} replied" : "#{notification.event.creator.name}:" } #{strip_tags(notification.event.comment.body_html).truncate(200)}" %> <% else %> <%= notification_body(notification) %> <% end %>