moff / angular2-flash-messages

Angular 2 flash messages module
52 stars 21 forks source link

Support html? #39

Closed jusfeel closed 6 years ago

jusfeel commented 6 years ago

It would be very useful if it can support displaying 'html' because very often the server error response is in plain html from some legacy system and display html by default covers both plain text and html cases.

sairathb commented 6 years ago

I am facing the same issue. My server side is returning me form validations in HTML format and I am not able to render them on screen, The HTML tags are made visible in the flash message. Can you please help me as to how I can display HTML content in the message,

moff commented 6 years ago

@jusfeel, @sairathb Sorry for the delay, folks! HTML is supported now - update to 3.0.1 version. If you use version 2.x.x, then keep in mind that version 3.0.1 relies on Angular 6.