[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/README.txt Added test to demonstrate that characters are not escaped in text-mode.

Malthe Borch mborch at gmail.com
Tue Mar 31 05:05:46 EDT 2009


Log message for revision 98667:
  Added test to demonstrate that characters are not escaped in text-mode.

Changed:
  U   z3c.pt/trunk/src/z3c/pt/README.txt

-=-
Modified: z3c.pt/trunk/src/z3c/pt/README.txt
===================================================================
--- z3c.pt/trunk/src/z3c/pt/README.txt	2009-03-31 08:42:42 UTC (rev 98666)
+++ z3c.pt/trunk/src/z3c/pt/README.txt	2009-03-31 09:05:46 UTC (rev 98667)
@@ -170,6 +170,9 @@
       background: #ccc;
   }
 
+  >>> template = ViewTextTemplate('print "<html>${options/color}</html>";')
+  >>> print template.bind(view)(color=u'#ccc')
+  print "<html>#ccc</html>";
 
 Global 'path' Function
 ----------------------



More information about the Checkins mailing list