[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/genshi.txt Add a strange (and not very important) error
Wichert Akkerman
wichert at wiggy.net
Sun Aug 17 11:36:40 EDT 2008
Log message for revision 89926:
Add a strange (and not very important) error
Changed:
U z3c.pt/trunk/src/z3c/pt/genshi.txt
-=-
Modified: z3c.pt/trunk/src/z3c/pt/genshi.txt
===================================================================
--- z3c.pt/trunk/src/z3c/pt/genshi.txt 2008-08-17 14:53:48 UTC (rev 89925)
+++ z3c.pt/trunk/src/z3c/pt/genshi.txt 2008-08-17 15:36:40 UTC (rev 89926)
@@ -345,5 +345,24 @@
</script>
+:: Both py:for and ${..} should be ignored in a comment, or both should be
+ handled.
+
+
+ >>> print render_genshi("""\
+ ... <div xmlns="http://www.w3.org/1999/xhtml"
+ ... xmlns:py="http://genshi.edgewall.org">
+ ... <!--
+ ... <script type="text/javascript">
+ ... <py:for each="i in range(10)">
+ ... alert(${i});
+ ... </py:for>
+ ... </script>
+ ... -->
+ ... </div>
+ ... """)
+ one two
+
+
.. _py:with specs: http://genshi.edgewall.org/wiki/Documentation/0.4.x/xml-templates.html#py-with
More information about the Checkins
mailing list