From 704378fd118414e185483ff76cbe32b4eb5b157f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20ALFAIATE?= Date: Fri, 5 May 2023 13:48:40 +0700 Subject: [PATCH] Allow

tags in string formatting --- app/Traits/GeneratesPdfTrait.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Traits/GeneratesPdfTrait.php b/app/Traits/GeneratesPdfTrait.php index 6d26829c3..07effbb0f 100644 --- a/app/Traits/GeneratesPdfTrait.php +++ b/app/Traits/GeneratesPdfTrait.php @@ -175,10 +175,6 @@ public function getFormattedString($format) $str = preg_replace("/<[^\/>]*>([\s]?)*<\/[^>]*>/", '', $str); - $str = str_replace("

", "", $str); - - $str = str_replace("

", "
", $str); - return $str; } }