Strip HTML from email notifications. Fixes #2935

This commit is contained in:
James Brooks
2018-03-27 21:25:42 +01:00
parent 0c96e67678
commit d63b9b2b3c
2 changed files with 2 additions and 2 deletions
@@ -82,7 +82,7 @@ class IncidentUpdatedNotification extends Notification
]))
->line($content)
->action(trans('notifications.incident.update.mail.action'), cachet_route('incident', [$this->update->incident]))
->line($this->update->message)
->line($this->update->raw_message)
->line(trans('cachet.subscriber.unsubscribe', ['link' => cachet_route('subscribe.unsubscribe', $notifiable->verify_code)]))
->line(trans('cachet.subscriber.manage.manage_at_link', ['link' => cachet_route('subscribe.manage', $notifiable->verify_code)]));
}