mermaid-js / mermaid-live-editor

Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.
https://mermaid.live
MIT License
4.13k stars 626 forks source link

feat: Sanitize error message #1494

Closed sidharthv96 closed 2 months ago

sidharthv96 commented 2 months ago

:bookmark_tabs: Summary

Use DOMPurify to sanitize error messages

:straight_ruler: Design Decisions

Describe the way your implementation works or what design decisions you made if applicable:

:clipboard: Tasks

Make sure you

netlify[bot] commented 2 months ago

Deploy Preview for mermaidjs ready!

Name Link
Latest commit 996a20d90eb5cf33eec3d1ed37da825273748147
Latest deploy log https://app.netlify.com/sites/mermaidjs/deploys/66a097d286947c0008d2ee99
Deploy Preview https://deploy-preview-1494--mermaidjs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

cypress[bot] commented 2 months ago

1 failed test on run #1511 ↗ī¸Ž

1 28 6 0 Flakiness 0
⚠ī¸ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge 996a20d90eb5cf33eec3d1ed37da825273748147 into eb62ba0b16336cc50556a323edd5...
Project: Mermaid Live Editor Commit: e789f39107 ℹī¸
Status: Failed Duration: 02:55 💡
Started: Jul 24, 2024 5:59 AM Ended: Jul 24, 2024 6:02 AM

Review all test suite changes for PR #1494 ↗ī¸Ž