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

I can't use anymore html inside the toastify js. #69

Closed
mariojgt opened this issue Apr 5, 2021 · 2 comments
Closed

I can't use anymore html inside the toastify js. #69

mariojgt opened this issue Apr 5, 2021 · 2 comments

Comments

@mariojgt
Copy link

mariojgt commented Apr 5, 2021

Any help how i can add html inside the toastify js.

@apvarun
Copy link
Owner

apvarun commented Apr 6, 2021

hey @mariojgt. Since using HTML can cause unintended behavior (if not sanitized), you will need to set escapeMarkup as false in order to specify that html should be rendered.

@mariojgt
Copy link
Author

mariojgt commented Apr 6, 2021

Thanks

@mariojgt mariojgt closed this as completed Apr 6, 2021
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

No branches or pull requests

2 participants