[Checkins] SVN: z3c.pt/trunk/z3c/pt/translation.txt Added test for
escaping.
Malthe Borch
mborch at gmail.com
Sat Feb 23 11:54:31 EST 2008
Log message for revision 84195:
Added test for escaping.
Changed:
U z3c.pt/trunk/z3c/pt/translation.txt
-=-
Modified: z3c.pt/trunk/z3c/pt/translation.txt
===================================================================
--- z3c.pt/trunk/z3c/pt/translation.txt 2008-02-23 16:44:26 UTC (rev 84194)
+++ z3c.pt/trunk/z3c/pt/translation.txt 2008-02-23 16:54:31 UTC (rev 84195)
@@ -39,6 +39,8 @@
... <span tal:content="None" />
... <span tal:attributes="class lambda: 'Hello'"
... tal:content="lambda: 'World'" />
+ ... <img tal:attributes="title '%sHello%s' % (chr(60), chr(62))" />
+ ... <span tal:replace="'%sbr /%s' % (chr(60), chr(62))" />
... <span tal:content="unicode('La Pe\xc3\xb1a', 'utf-8')" />
... <span>inter${'pol' + 'ati'}on</span>is ${int('test') | 'convenient'}!
... <span tal:define="hello 'Hello'" class="${hello} World!" />
@@ -86,6 +88,8 @@
Hello World!
<span></span>
<span class="Hello">World</span>
+ <img title="<Hello>" />
+ <br />
<span>La Peña</span>
<span>interpolation</span>is convenient!
<span class="Hello World!" />
More information about the Checkins
mailing list