Zaid-Ajaj / Elmish.SweetAlert

SweetAlert integration for Fable, made with :heart: to work in Elmish apps. https://zaid-ajaj.github.io/Elmish.SweetAlert/
MIT License
30 stars 3 forks source link

Add Html support #32

Closed AlbertoDePena closed 1 year ago

AlbertoDePena commented 2 years ago

Probably not the desired implementation but this works... from the docs (https://sweetalert2.github.io/#download)

A HTML description for the popup. If text and html parameters are provided in the same time, html will be used. [Security] SweetAlert2 does NOT sanitize this parameter. It is the developer's responsibility to escape any user input when using the html option, so XSS attacks would be prevented.