We have developed a Managed Grid component where users can dynamically pass column definition and data which will be rendered as SLDS table. We support datatypes such as Text,Date,DateTime..
so on.
We are considering supporting RichTextArea
type based on some of our client's feedback. Since we will need to show the HTML content in a column, Our question is:
Do we need to sanitize the HTML content that is passed to the component? If Yes, Are there any Salesforce/Locker Service approved libraries available out to strip out problematic tags like script,.. and return proper content?