[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/translation.txt Add test for a bug in quote handling
Wichert Akkerman
wichert at wiggy.net
Fri Aug 15 06:09:37 EDT 2008
Log message for revision 89873:
Add test for a bug in quote handling
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-15 09:52:56 UTC (rev 89872)
+++ z3c.pt/trunk/src/z3c/pt/translation.txt 2008-08-15 10:09:36 UTC (rev 89873)
@@ -59,6 +59,15 @@
<span>Not protected</span> <![CDATA[ This is protected ]]>
</div>
+:: Variables containing quotes
+ >>> print render("""\
+ ... <div xmlns="http://www.w3.org/1999/xhtml">
+ ... <strong>"${quote}"</strong>
+ ... </div>""", translate_xml, quote="Hello, World!")
+ <div>
+ <strong>"Hello, World!"</strong>
+ </div>
+
:: Variables containing markup
>>> print render("""\
More information about the Checkins
mailing list