projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0d424bf
)
fixed markup in doc
author
Fabien Potencier
<fabien.potencier@gmail.com>
Sat, 18 Dec 2010 10:26:41 +0000 (11:26 +0100)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Sat, 18 Dec 2010 10:53:59 +0000 (11:53 +0100)
doc/templates.rst
patch
|
blob
|
history
diff --git
a/doc/templates.rst
b/doc/templates.rst
index
a1a4073
..
c1ed8fb
100644
(file)
--- 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.