On 1/20/11 3:57 PM, Henrik Bjornskov wrote:
That is a Jinja2 thing and not directly with Twig.

The extension part of a file is supposed to say what contents that file
have. With the current template.renderer.format it dosent say what i
contains it is saying what i is going to be when it have been through
the Symfony2 rendering cycle and that is fundamentally wrong.

It depends how you see your templates. For me, an HTML template is about a lot of HTML a a few Twig tags. So, the "main" format is definitely HTML.

Fabien

Wouldnt you be surprised to see content of html if you openen a .xls
file? or a image file of any type. You know because it is named .jpg it
will be an image if it wasnt we would have no idea whatsoever to know
what the different files contain.

--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to