[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/genshi.txt A puzzling test failure. Similar to http://genshi.edgewall.org/ticket/256

Wichert Akkerman wichert at wiggy.net
Sat Aug 16 04:13:26 EDT 2008


Log message for revision 89907:
  A puzzling test failure. Similar to http://genshi.edgewall.org/ticket/256

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-16 07:27:32 UTC (rev 89906)
+++ z3c.pt/trunk/src/z3c/pt/genshi.txt	2008-08-16 08:13:26 UTC (rev 89907)
@@ -149,9 +149,27 @@
         "Some random quote <em>Some name</em>
     </blockquote>
   </div>
+
     
+  >>> print render_genshi("""\
+  ... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+  ...     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+  ... <html xmlns="http://www.w3.org/1999/xhtml"
+  ...       xmlns:py="http://genshi.edgewall.org">
+  ...  <body> py:with="bla=1">
+  ...     <em>${bla}</em>
+  ...   </body>
+  ... </html>""")
+  <html>
+    <body>
+      <em>1</em>
+    </body>
+  </html>
+  
+  
+  
 py:attrs
-
+  
   >>> print render_genshi("""\
   ... <ul xmlns="http://www.w3.org/1999/xhtml"
   ...     xmlns:py="http://genshi.edgewall.org">



More information about the Checkins mailing list