-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


- --On 21. Dezember 2006 20:32:39 +0100 Mihamina Rakotomandimby 
<[EMAIL PROTECTED]> wrote:

> Hi,
> I have an external method that fetches some web content (POP messages)
> then format an HTML output to make it easy to display.
> the Id of the external method is "mm". So as I said, it returns HTML
> content, with HTML tags and "<"s and ">"s.
> I directly call that external method from a ZPT this way:
>       <div tal:content="python:here.mm()">
>               foo
>       </div>
> the problem is the ">" and "<" returned by "mm" are all transformed to
> &lt; and &gt;. How to avoid that?
>

Look at the 'structure' directive of ZPT *hint*

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFiuLZCJIWIbr9KYwRArATAJ9fW0UckZO5GFz30JWkddYv3h8GcwCfastX
kc/+w1d6DMHK7pVgS3b08SY=
=ojz9
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to