Mercurial > genshi > mirror
diff doc/xml-templates.txt @ 657:54964f7d2253 trunk
Allow use of py:replace as element. Closes #144.
author | cmlenz |
---|---|
date | Thu, 22 Nov 2007 20:36:00 +0000 |
parents | 3d2909fe1dda |
children | 07e3f6f0ef57 af57b12e3dd2 dfe942b94c2f |
line wrap: on
line diff
--- a/doc/xml-templates.txt +++ b/doc/xml-templates.txt @@ -499,7 +499,14 @@ Bye </div> -This directive can only be used as an attribute. +This directive can also be used as an element (since version 0.5): + +.. code-block:: genshi + + <div> + <py:replace value="title">Placeholder</py:replace> + </div> + .. _`py:strip`: