IHP 1.1 is out now!

← Back to Feature Requests

Support HSX in setSuccessMessage/setErrorMessage?

Just a small feature that could be nice:

Could setSuccessMessage and setErrorMessage easily support HSX? As a string is valid HSX, it could maybe be fixed without too much breakage?

I did a workaround inserting a text string with html inside and used preEscapedToHtml inside a custom CSSFramework and it seems to work nicely, so it's solved for my part, but maybe it would be nice to support this by default?

Here is a visual example:

Html in setSuccessMessage

Comment +