[Zope-dev] PROPOSAL: html_quote implicit in entity-reference var tag syntax

Evan Simpson evan@4-am.com
Wed, 25 Aug 1999 18:50:00 -0500


Jim Fulton wrote:

> I propose that:
>
>   &dtml-name;
>
> should be equivalent to:
>
>   <dtml-var name html_quote>
>
> Can anyone think of a case where you need the entity-reference
> syntax and wouldn't want html_quote?

I had entirely forgotten that syntax.  The only time you would want your
text unquoted (in HTML, anyway) is if you're constructing tags or parts
of tags, in which case <dtml-var> should be a good substitute.

With this change, I might actually *use* &dtml-name; instead of
forgetting it.