Use DTCoreText's callback option to sanitise formatted messages #5165
Labels
A-Timeline
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
Currently we sanitise the HTML of formatted messages in
MXKTools
before passing the string to DTCoreText to generate an attributed string. The main purpose of this call is to remove h1/h2 tags to prevent shouting, but it also allows for images to be downloaded locally to allow for attachment to the attributed string.This can all be done with
DTCoreText
'sDTWillFlushBlockCallBack
option.The text was updated successfully, but these errors were encountered: