[Zope] Suppress the <base> tag in ZPT

David Chandek-Stark dc at duke.edu
Wed Jul 7 18:05:38 EDT 2004


I apparently answered my own question: if you include a commented out 
<base> tag, ZPT will not produce one, but only if the comment and tag 
are on one line.

<!-- <base tal:attributes="href here/base_url" /> -->

Sounds like a bug.

--David

David Chandek-Stark wrote:

> I'd like to suppress the <base> tag produced automatically when a ZPT is 
> rendered. I know I can override the default with my own, but I really 
> want the rendered page without the <base> tag.
> 
> Thanks,
> David
> 

-- 
David Chandek-Stark
Web Applications Developer
Duke University - Perkins Library
(919) 660-5859
dc at duke.edu


More information about the Zope mailing list