diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php index 9ab82b0c3d8..2f3a79c59be 100644 --- a/htdocs/ticket/card.php +++ b/htdocs/ticket/card.php @@ -769,7 +769,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd } if (!empty($object->origin_email)) { $morehtmlref .= '
' . $langs->trans("CreatedBy") . ' : '; - $morehtmlref .= $object->origin_email . ' (' . $langs->trans("TicketEmailOriginIssuer") . ')'; + $morehtmlref .= dol_escape_htmltag($object->origin_email) . ' (' . $langs->trans("TicketEmailOriginIssuer") . ')'; } // Thirdparty