diff --git a/Modules/Survey/classes/class.ilSurveyParticipantsGUI.php b/Modules/Survey/classes/class.ilSurveyParticipantsGUI.php index 00ef55037526..3743a694a9a6 100644 --- a/Modules/Survey/classes/class.ilSurveyParticipantsGUI.php +++ b/Modules/Survey/classes/class.ilSurveyParticipantsGUI.php @@ -878,7 +878,7 @@ public function sendCodesMailObject() { $lang = $this->lng->getDefaultLanguage(); } - $this->object->sendCodes($_POST['m_notsent'], $_POST['m_subject'], $_POST['m_message'],$lang); + $this->object->sendCodes($_POST['m_notsent'], $_POST['m_subject'], nl2br($_POST['m_message']),$lang); ilUtil::sendSuccess($this->lng->txt('mail_sent'), true); $this->ctrl->redirect($this, 'mailCodes'); }