From 4d4fd26a9dbc03cd2595c2436188098b0228bc6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Thu, 11 Jan 2024 10:57:22 +0100 Subject: [PATCH] fix(Tinebase) preview panel can't show async titles --- tine20/Tinebase/js/EncodingHelper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tine20/Tinebase/js/EncodingHelper.js b/tine20/Tinebase/js/EncodingHelper.js index aceb026a703..f411e59a613 100644 --- a/tine20/Tinebase/js/EncodingHelper.js +++ b/tine20/Tinebase/js/EncodingHelper.js @@ -28,7 +28,8 @@ Tine.Tinebase.EncodingHelper = { } value = Ext.util.Format.htmlEncode(value); - return Ext.util.Format.nl2br(value); + // @TODO for HTMLProxies we should invent some kind of chain we can hook into + return value.isExpression ? value : Ext.util.Format.nl2br(value); } };