PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Twig: Don't forget to close your tags

Note: This article was originally published at Planet PHP on 7 December 2011.
Planet PHP
Just a little heads-up for people working with Symfony2/Twig: Today I ran into an issue that I couldn't figure out. "It shouldn't be this hard..." I thought, and indeed, it turned out not to be as hard. It's just easy to overlook: Make sure to close your twig tags correctly :)