From 0a1d48777eec7ed4cc844a408c7da3fced03cde4 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 19 Dec 2025 14:05:53 +0100 Subject: [PATCH] Create document : the note is in HTML --- include/class/document.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class/document.class.php b/include/class/document.class.php index f328a1e48..c183e0211 100644 --- a/include/class/document.class.php +++ b/include/class/document.class.php @@ -1757,7 +1757,7 @@ class Document } return $ret; case 'NOTE': - return $p_array['jrn_note_input']??""; + return strip_tags(html_entity_decode($p_array['jrn_note_input']??""));