Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dompurify config option #2831

Merged
merged 2 commits into from
Mar 17, 2022
Merged

Add dompurify config option #2831

merged 2 commits into from
Mar 17, 2022

Conversation

gwincr11
Copy link
Contributor

📑 Summary

We would like to surface the DomPurify configs via the configs.

📏 Design Decisions

Use the config option dompurifyConfig to pass the configs to dompurify

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added unit/e2e tests (if appropriate)
  • 🔖 targeted develop branch

docs/security.md Outdated Show resolved Hide resolved
Co-authored-by: Tali Herzka <[email protected]>
@knsv
Copy link
Collaborator

knsv commented Mar 17, 2022

Good idea and thanks for taking the time to do a PR and additional thanks for including the test and updated docs!

@knsv knsv merged commit b84cd15 into mermaid-js:develop Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants