Chore: Add test to pin dompurify version
What does this MR do and why?
This MR looks to help us pin our DOMPurfiy
version so that future contributors/maintainers don't accidentally bump the version. We've had to revert this twice already:
From the commit:
Chore: Add test to pin dompurify version
- Bumping to 3.1.7 has caused some issues
- It might be fixed in 3.1.8 and we can likely remove this test
- We might want to keep it around though so that we are reminded to manually verify mermaid diagrams whenever we update this.