Hi all,

I was just coding some ZPTs and noticed that the following code causes a page 
template parsing error:

<div>
<p>
  Items:
  <ul>
     <li>One</li>
  </ul>
</p>
</div>

Error:
2005-07-22 23:27:33,460 PageTemplateFile: Error in template: Compilation 
failed
zope.tal.htmltalparser.NestingError: Open tag <div> does not match close tag 
</p>, at line 13, column 3

Now this does not make sense at all. Also, the problem exists only for the "p" 
tag. Can someone verify this problem?

The last person that played with the PT code was Dimitry in revision 37358, 
37345 and 37346.

Dimitry, could you look into this, if confirmed?

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to