[Zope-CVS] CVS: Packages/JobBoardI18n - preview.pt:1.2

Guido van Rossum guido@python.org
Wed, 19 Jun 2002 16:07:56 -0400


Update of /cvs-repository/Packages/JobBoardI18n
In directory cvs.zope.org:/tmp/cvs-serv15341

Modified Files:
	preview.pt 
Log Message:
Change the way the email address is internationalized to overcome a
bug in the ZPT i18n code.  The bug is that when you have an i18n:name
tag on an <a> element, the <a> element is lost.  At least when the <a>
element also contains a tal:attributes and a tal:contents attribute.


=== Packages/JobBoardI18n/preview.pt 1.1 => 1.2 ===
 
 <p i18n:translate="verify">Your contact email address is recorded as
+<span i18n:name="email">
 <a href="user@host.com"
    tal:attributes="href string:mailto:${request/submitter}"
-   tal:content="request/submitter"
-   i18n:name="email">user@host.com</a>.
+   tal:content="request/submitter">
+   user@host.com</a></span>.
 This address will not be published on the website, but we will use it
 to reach you if we have questions about your submission.  Job seekers
 will contact the address you provide in the Contact field.