[ZPT] tal:content on declared-empty HTML elements
Fred L. Drake, Jr.
fred at zope.com
Fri Apr 25 15:10:17 EDT 2003
I've just commited a change to both Zope 2 and Zope 3 (CVS trunk only)
that raises a TALError when tal:content is used on an element declared
to have an EMPTY content model by the HTML DTD.
I think this should deal with recently raised concerns about TAL
generating bad HTML in a reasonable way; it gives the person changing
the template a heads-up about the problem and "encourages" them to fix
Fred L. Drake, Jr. <fred at zope.com>
PythonLabs at Zope Corporation
More information about the ZPT