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

HTML content sanitization and parsing for html tags inside toast #350

Conversation

borisadamyan
Copy link
Contributor

@borisadamyan borisadamyan commented Feb 23, 2024

Improvement:

Closes #345

What has been done ✅:

  • [ DOMPurify sanitize library added. ]

  • [ Parsed value inserted into toast title and description to support HTML tags in toast. ]

Screenshots/Videos 🎥:

N/A

Copy link

vercel bot commented Feb 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sonner ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2024 8:19am

@borisadamyan
Copy link
Contributor Author

borisadamyan commented Mar 1, 2024

@emilkowalski 👋 Regarding the merging of dates for this fix, we need to use it in our project :) . Could you please check why the deployment failed? Do we need to change anything else or is there some action needed to be done by you? Thanks

@borisadamyan
Copy link
Contributor Author

@NaveenkumarMD Thank you for the review.

@emilkowalski
Copy link
Owner

@borisadamyan You have a frozen lock file

@borisadamyan
Copy link
Contributor Author

@borisadamyan You have a frozen lock file

OK, thanks for the note. Deployment passed successfully :)

@emilkowalski emilkowalski merged commit 9ddd0e6 into emilkowalski:main Mar 10, 2024
2 checks passed
@emilkowalski
Copy link
Owner

Thanks!

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.

Html tags inside toaster
3 participants