We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Flash behavior changed in Phalcon 3.0

It appears that HTML in messages is now auto-escaped by the flash service in Phalcon 3. There's no documentation of this change, nor of how to disable it ($flash->setAutoescape(false)) that I can find. The github docs folder refers me to here, but there's no obvious place to put this aside from a forum topic.

Is the setAutoescape function expected to change or become a documented feature?



1.4k
Accepted
answer
edited Aug '16

I think this feature will be documented. You can rely on https://github.com/phalcon/cphalcon/pull/11890



7.5k

Thank you sir.