Skip to content

Commit

Permalink
fix(Tinebase) preview panel can't show async titles
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweiss committed Jan 11, 2024
1 parent 6be7fb8 commit 4d4fd26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tine20/Tinebase/js/EncodingHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};

Expand Down

0 comments on commit 4d4fd26

Please sign in to comment.