diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index af6ead5017b..a305130342a 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -1293,7 +1293,7 @@ class ActionComm extends CommonObject if (! empty($this->location)) $tooltip .= '
' . $langs->trans('Location') . ': ' . $this->location; if (! empty($this->note)) - $tooltip .= '
' . $langs->trans('Note') . ': ' . $this->note; + $tooltip .= '
' . $langs->trans('Note') . ': ' . (dol_textishtml($this->note) ? str_replace(array("\r","\n"), "", $this->note) : $this->note); $linkclose=''; if (! empty($conf->global->AGENDA_USE_EVENT_TYPE) && $this->type_color) $linkclose = ' style="background-color:#'.$this->type_color.'"';