From 011732d0c5721f47ef231fe60f8c11f470ade073 Mon Sep 17 00:00:00 2001 From: Lluis Forns Date: Wed, 17 Sep 2025 09:41:44 +0200 Subject: [PATCH] Fix: html already decoded by displayText() --- inc/ticket.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ticket.class.php b/inc/ticket.class.php index ff97a91..9425cc8 100644 --- a/inc/ticket.class.php +++ b/inc/ticket.class.php @@ -457,7 +457,7 @@ public static function pdfMain(PluginPdfSimplePDF $pdf, Ticket $job) '' . sprintf(__('%1$s: %2$s'), __('Title') . '', $job->fields['name']), ); - $content = Glpi\Toolbox\Sanitizer::unsanitize(Html::entity_decode_deep($job->fields['content'])); + $content = $job->fields['content']; $content = preg_replace('#data:image/[^;]+;base64,#', '@', $content);