Skip to content

Commit

Permalink
Merge pull request #2300 from MTES-MCT/feature/2299-remove-html-desor…
Browse files Browse the repository at this point in the history
…dres

[BO - Esabora] Suppression html sur les désordres
  • Loading branch information
numew committed Feb 28, 2024
2 parents 4dda1f3 + 55a8c56 commit 1eb72c9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use App\Entity\Affectation;
use App\Entity\Signalement;
use App\Factory\Interconnection\DossierMessageFactoryInterface;
use App\Service\HtmlCleaner;
use App\Service\UploadHandlerService;

abstract class AbstractDossierMessageFactory implements DossierMessageFactoryInterface
Expand Down Expand Up @@ -72,6 +73,6 @@ protected function buildDesordresCreatedFrom(Signalement $signalement): string
}
}

return $commentaireDesordres;
return HtmlCleaner::clean($commentaireDesordres);
}
}

0 comments on commit 1eb72c9

Please sign in to comment.