save auto-escaping of generated URLs when possible for performance reasons
[TwigBridge] added some unit test for the previous commit