[Zope] HTML quotes
Michel Pelletier
michel@digicool.com
Mon, 30 Aug 1999 21:01:11 -0400
Victor Ng wrote:
>
> I've got a DTML document (id = review) with just straight HTML in it like
> this:
>
> <P>just some text</P>
>
> When I call it using <dtml-var review> it comes out ok, but when I call it
> from the parent as <dtml-var "_['child'].review">, the Zope returns the
> HTML code with all of the angle brackets coming back as HTML character
> entities. What's going on here? I'm using Zope 2.0b6
>
Hmm. Can't you just say <dtml-var review>? If the review object is
above the document, it will work.
If it is below, you can say:
<dtml-with child>
<dtml-var review>
</dtml-with>
-Michel
> Vic
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
>
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )