What does Magento 2 @escapeNotVerified mean?

- Fire development, Magento 2

Magento 2 Development

Magento 2 @escapeNotVerified is a tag used by static tests for potentially unsafe output. Since some output is considered to be safe, you should not mark it with such annotations:

  • Enclosed in single quotes or in double quotes but without variables

  • Type casting to bool, int

  • Method calls with ‘html’ in their names.

Source (Stackexchange Question)(Alex P)

More tips from the Cookbook