Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Create an easy way to control escaping #4

Open
predominant opened this issue Feb 7, 2012 · 0 comments
Open

Create an easy way to control escaping #4

predominant opened this issue Feb 7, 2012 · 0 comments
Assignees

Comments

@predominant
Copy link
Owner

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 which can turn on and off escaping easily.
@ghost ghost assigned predominant Feb 7, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant