[Zope] Re: Exsternal method quote
   
    Andreas Tille
     
    tillea@rki.de
       
    Tue, 29 Oct 2002 10:39:49 +0100 (CET)
    
    
  
On Mon, 28 Oct 2002, Dieter Maurer wrote:
> This seems not to be a "File" object but something else, maybe
> a DTML object.
Damn, your are right.
>   With "return cont[foundname]", you return the object itself.
>   ZPublisher converts this to a string by calling its "__str__"
>   method. DTML objects perform HTML quoting in their "__str__"
>   method.
>
>   "File" objects, on the other hand, return raw content.
Thanks for opening my eyes!
Kind regards
       Andreas.