29 Oct
2002
29 Oct
'02
9:39 a.m.
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.