apvarun/toastify-js

No HTML markup escaping

StefCDev opened this issue · 1 comments

Hello,
escaping of HTML markup does not work, if I pass even a small HTML code it is written but not interpreted.

It creates a problem also because I need to escape characters like 'è' that are not correctly displayed but the corresponding HTML tag (è) is displayed as is and not interpreted.

Can you show how you're trying to use toastify? Have you turned off the escapeMarkup option? By default, html is escaped to help ensure XSS issues don't appear.