From: Fabien Potencier Date: Sat, 18 Dec 2010 10:26:41 +0000 (+0100) Subject: fixed markup in doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=4fbbad44f159c33a3d821a78e34c9c0f42d2d223;p=web%2Fkonrad%2Ftwig.git fixed markup in doc --- diff --git a/doc/templates.rst b/doc/templates.rst index a1a4073..c1ed8fb 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -648,10 +648,10 @@ Here is a small example of a macro that renders a form element: Macros differs from native PHP functions in a few ways: - * Default argument values are defined by using the ``default`` filter in the - macro body; +* Default argument values are defined by using the ``default`` filter in the + macro body; - * Arguments of a macro are always optional. +* Arguments of a macro are always optional. But as PHP functions, macros don't have access to the current template variables.