diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php
index 7f989c9bb7..c3e4c8811d 100644
--- a/pandora_console/include/functions_events.php
+++ b/pandora_console/include/functions_events.php
@@ -4719,7 +4719,7 @@ function events_page_comments($event, $ajax=false)
foreach ($comm as $c) {
$data[0] = ''.$c['action'].' by '.$c['id_user'].'';
$data[0] .= '
'.date($config['date_format'], $c['utimestamp']).'';
- $data[1] = '
'.$c['comment'].'
'; + $data[1] = ''.stripslashes(str_replace(['\n', '\r'], '
', $c['comment'])).'