carbon-registry
carbon-registry copied to clipboard
Sanitize rich text editor content before rendering in registry ui
Purpose
Sanitize rich text editor content before rendering in registry ui using domPurify library[1][2]. DomPurify was already used in master branch for react console to Sanitize email template body input before rendering preview[3]
[1] https://www.npmjs.com/package/dompurify [2] https://unpkg.com/[email protected]/dist/purify.js [3] https://github.com/wso2/identity-apps/pull/5599