I have a Create HTML activity which is creating an email body. In this activity, I have added a DataTable data value and inserted it into the editor.
When the HTML is rendered, html saved in the datatable is not preserved. HTML tags used for styling are converted to raw text rather than being interpreted as HTML.
Is there an alternative formatting I should be using here or will I need to roll my own solution? I suspect this may have been done on purpose to prevent some sort of injection attack, but I control both the datatable and the resulting HTML so this is not a concern to me.
At best with this I could style outside of the table or I could style html that I know will be there, such as targeting table or td, but this doesn’t really help me.
The issue seems to be related to the code in this activity which renders HTML for the datatable, which it uses as a replacement for {{VerifiedTable}} in the html above. It would need to interpret <strong>Overall</strong> as HTML rather than just plain text, though as mentioned prior I suspect it’s going one step further and sanitizing the text to remove HTML.
I’ll see what I can do to roll my own datatable to html code.