- Issue created by @hooroomoo
- @hooroomoo opened merge request.
- Status changed to Needs review
9 months ago 10:21pm 2 October 2023 - πΊπΈUnited States hooroomoo
This MR adds the DOMPurify β library that has many users and releases.
Currently, a confirmation message set in the Webform UI that contains markup (ex. <h1>hiiii</h1>
) gets returned with html entities from the API, so when we try to pass that into dangerouslySetInnerHtml, it doesn't render as expected. We also want to avoid decoding HTML entities in our library for security reasons, so fixing this issue may require a change in the API.
Needs review
Code
This MR adds the DOMPurify β library that has many users and releases.