Mitchell Bösecke
Mitchell Bösecke
If it helps anyone else, I get the error when I try to compress an empty file. My solution was to check the file size before invoking the compression library...
There is an[ autoescape tag](http://mitchellbosecke.com/pebble/documentation/tag/autoescape) which can be used to turn off/on escaping as well as changing the escaping strategy. Is this what you're looking for?
Okay, I think I understand. You want to escape the contents of the template itself, not just the dynamic results of the `{{` expressions. If I'm understanding that correctly, it's...
Unfortunately I don't have a list! I wish I did!
I love hearing about the different projects using Pebble. I'm going to keep this issue open indefinitely for people to continue sharing. Thanks guys.
It looks like `Twig` uses a separate keyword to accomplish this, http://twig.sensiolabs.org/doc/tags/use.html, and they have very strict criteria that must be met by the template being included. It's seems like...
Can you provide more information about your custom filter? I suspect that this is too niche of a problem that any solution is probably not worth the overhead.
So, essentially you want to continue using `strictVariables` but in this particular instance you do not want the `AttributeNotFoundException` to be thrown. I'm reluctant to allow this exception to be...
The "confusing" problem with your proposed solution is when you read `{{ user.company.title | myCustomFilter }}` and you know that `strictVariables` is true, you have no idea whether or not...
At first I really liked this idea but the more I think about it the more it feels like we would just be implementing a new technique for something that...