[Zope-dev] PROPOSAL: html_quote implicit in entity-reference var tag syntax
Jim Fulton
jim@digicool.com
Wed, 25 Aug 1999 18:55:11 -0400
Zope 2.0 allows you to use an entity-reference syntax for the var
tag. For example, you can do:
<a href="&dtml-URL1;">
rather than:
<a href="<dtml-var URL1>">
Unfortunately, you always need html_quote in a situation like this.
I propose that:
&dtml-name;
should be equivalent to:
<dtml-var name html_quote>
(Or, of course:
<!--#var name html_quote-->
)
Without this change, I think the entity-reference syntax doesn't
really solve the problem it was designed to solve.
Can anyone think of a case where you need the entity-reference
syntax and wouldn't want html_quote?
I feel that this change needs to be made now, before Zope 2.0
final, since it is not backward compatible. For example,
if someone has a document like:
&dtml-standard_html_header;
....
&dtml-standard_html_footer;
Making html_quote explicit will break their document.
Comments?
Jim
--
Jim Fulton mailto:jim@digicool.com Python Powered!
Technical Director (888) 344-4332 http://www.python.org
Digital Creations http://www.digicool.com http://www.zope.org
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission. Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.