|
|
@@ -4,6 +4,7 @@ namespace App\Notifications;
|
|
4
|
4
|
|
|
5
|
5
|
use App\Models\Annotazione;
|
|
6
|
6
|
use App\Models\Segnalazione;
|
|
|
7
|
+use App\Support\IsolaHtml;
|
|
7
|
8
|
use Illuminate\Bus\Queueable;
|
|
8
|
9
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
9
|
10
|
use Illuminate\Notifications\Messages\MailMessage;
|
|
|
@@ -51,7 +52,7 @@ class AnnotazionePubblicaApertaDa extends Notification implements ShouldQueue
|
|
51
|
52
|
->markdown('mail.annotazione-pubblica-aperta-da', [
|
|
52
|
53
|
'segnalazione' => $this->segnalazione,
|
|
53
|
54
|
'annotazione' => $this->annotazione,
|
|
54
|
|
- 'annotazioneHtml' => (string) ($this->annotazione->text ?? ''),
|
|
|
55
|
+ 'annotazioneHtml' => IsolaHtml::fragment((string) ($this->annotazione->text ?? '')),
|
|
55
|
56
|
'aziendaLabel' => $aziendaLabel,
|
|
56
|
57
|
'statoLabel' => $statoLabel,
|
|
57
|
58
|
'prioritaLabel' => $prioritaLabel,
|