[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/translation.txt Add a failing test for handling of markup in ${..} expansion
Wichert Akkerman
wichert at wiggy.net
Tue Aug 12 03:43:58 EDT 2008
Log message for revision 89700:
Add a failing test for handling of markup in ${..} expansion
Changed:
U z3c.pt/trunk/src/z3c/pt/translation.txt
-=-
Modified: z3c.pt/trunk/src/z3c/pt/translation.txt
===================================================================
--- z3c.pt/trunk/src/z3c/pt/translation.txt 2008-08-12 07:41:39 UTC (rev 89699)
+++ z3c.pt/trunk/src/z3c/pt/translation.txt 2008-08-12 07:43:57 UTC (rev 89700)
@@ -44,6 +44,16 @@
<img alt="La Peña" />
</div>
+:: Variables containing markup
+
+ >>> print render("""\
+ ... <div xmlns="http://www.w3.org/1999/xhtml">
+ ... ${message}
+ ... </div>""", translate_xml, message="Hello, <em>World</em>!")
+ <div>
+ Hello, <em>World</em>!
+ </div>
+
Literals
--------
More information about the Checkins
mailing list