diff --git a/resources/views/emails/new-ticket.blade.php b/resources/views/emails/new-ticket.blade.php index 27b7297..4a9c665 100644 --- a/resources/views/emails/new-ticket.blade.php +++ b/resources/views/emails/new-ticket.blade.php @@ -7,6 +7,6 @@

Description :
- {!! nl2br(e($ticket->text)) !!} + {!! clean(nl2br($ticket->text)) !!}

Lien vers le ticket : Ouvrir dans un nouvel onglet

diff --git a/resources/views/emails/ticket-mention.blade.php b/resources/views/emails/ticket-mention.blade.php index af5d8af..5727897 100644 --- a/resources/views/emails/ticket-mention.blade.php +++ b/resources/views/emails/ticket-mention.blade.php @@ -5,5 +5,5 @@
  • Type : {{ $ticket->type === 0 ? "Bug" : "Évolution" }}
  • Créé par : {{ $ticket->user->name }}
  • -

    {!! $corpsMaj !!}

    +

    {!! clean(nl2br($corpsMaj)) !!}

    Lien vers le ticket : Ouvrir dans un nouvel onglet

    diff --git a/resources/views/emails/ticket-update.blade.php b/resources/views/emails/ticket-update.blade.php index 442eda0..736fd76 100644 --- a/resources/views/emails/ticket-update.blade.php +++ b/resources/views/emails/ticket-update.blade.php @@ -5,5 +5,5 @@
  • Type : {{ $ticket->type === 0 ? "Bug" : "Évolution" }}
  • Créé par : {{ $ticket->user->name }}
  • -

    {!! $corpsMaj !!}

    +

    {!! clean(nl2br($corpsMaj)) !!}

    Lien vers le ticket : Ouvrir dans un nouvel onglet