Currently there is no simple way to turn off escaping, without modifying code in the plugin.
There are 2 nice solutions:
- Auto-escaping should default to on (this already exists)
- Turn off auto escaping based on a
Configure setting
- Example:
Configure::write('TwigView.autoescape', false);
- Allow user-defined loading of Twig Extensions
- This would allow more flexibility for other situations
- It will allow the use of the Escaper Extension which can turn on and off escaping easily.
Currently there is no simple way to turn off escaping, without modifying code in the plugin.
There are 2 nice solutions:
ConfiguresettingConfigure::write('TwigView.autoescape', false);