predominant/TwigView — Issue #4: Create an easy way to control escaping
Author: predominant
Created: 2012-02-07 23:19:07+00:00
State: open

Currently there is no simple way to turn off escaping, without modifying code in the plugin.

There are 2 nice solutions:

1. Auto-escaping should default to on (this already exists)
- Turn off auto escaping based on a `Configure` setting
- Example: `Configure::write('TwigView.autoescape', false);`
2. Allow user-defined loading of Twig Extensions
- This would allow more flexibility for other situations
- It will allow the use of the [Escaper Extension](http://twig.sensiolabs.org/doc/api.html#escaper-extension) which can turn on and off escaping easily.