From 3c1f5e3427e3e45a11b772dfe24da2cef63f91f0 Mon Sep 17 00:00:00 2001
From: Thomas Lange <code@nerdmind.de>
Date: Mon, 21 Jun 2021 18:38:46 +0200
Subject: Use function parseEntityContent

---
 core/functions.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'core/functions.php')

diff --git a/core/functions.php b/core/functions.php
index 3a3dbdf..7157e03 100644
--- a/core/functions.php
+++ b/core/functions.php
@@ -99,7 +99,7 @@ function generateItemTemplateData(Item $Item): array {
 				return $preparsed;
 			},
 			'HTML' => function() use($Item) {
-				return $Item->getHTML();
+				return parseEntityContent($Item);
 			}
 		]
 	];
-- 
cgit v1.2.3