Henry Smith e225f8e2dd Failing test for fabpot/Twig#958
This test case reproduces the issue reported by @stof in fabfot/Twig#958. This
problem is being caused by the fact that the {% embed %} tag causes the
generation of a separate template class sharing the exact same
$this->templateName value as the main template containing the tag. This then
confuses Twig_Error::guessTemplateInfo when it's iterating through the
$backtrace comparing $this->filename to $trace['object']->getTemplateName().
2013-07-16 22:08:51 +01:00
2013-06-06 10:57:56 +02:00
2013-07-15 16:26:07 +02:00
2013-07-16 22:08:51 +01:00
2012-11-18 21:42:00 +01:00
2012-04-23 23:30:30 +02:00
2013-06-06 10:57:56 +02:00
2013-01-04 17:54:54 +01:00
2012-04-23 23:34:16 +02:00

Twig, the flexible, fast, and secure template language for PHP

Build Status

Twig is a template language for PHP, released under the new BSD license (code and documentation).

Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment.

More Information

Read the documentation for more information.

Languages
PHP 99.9%