[ZPT] The Zope Book define macro example

Michael Fair michael@daclubhouse.net
Fri, 15 Mar 2002 12:34:25 -0800


Hi all,

I just installed the latest debian package of Zope
and started experimenting with Page Templates and
was using Chapter 9 of "The Zope Book" which had
this example:

<p metal:define-macro="sidebar">
  Links
  <ul>
    <li><a href="/">Home</a></li>
    <li><a href="/products">Products</a></li>
    <li><a href="/support">Support</a></li>
    <li><a href="/contact">Contact Us</a></li>
  </ul>
</p>


However when i try and save the page, I get an
error saying that <p> tags need an explicit </p>
tag.  Removing the <ul><li's></li's></ul> solves
the problem but shouldn't this example work?

-- Michael --