mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
tweaked docs to avoid using an internal method in an example
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ using)::
|
||||
{
|
||||
// line 1
|
||||
echo "Hello ";
|
||||
echo twig_escape_filter($this->env, $this->getContext($context, "name"), "html", null, true);
|
||||
echo twig_escape_filter($this->env, isset($context["name"]) ? $context["name"] : null), "html", null, true);
|
||||
}
|
||||
|
||||
// some more code
|
||||
|
||||
Reference in New Issue
Block a user