On Wed, Apr 11, 2001 at 03:07:27PM -0400, Geoff Talvola wrote:
> Maybe what you want is square brackets for the value-substitution [value
> foo] parts, but angle brackets for the conditional and looping logic. When
> I'm previewing the template in a browser, I'd like to see where values are
> going to be substituted in, but I probably do NOT want to see the if's and
> for's since they don't correspond to anything that's going to show up in
> the final web page and could mess up the formatting.
Angle brackets are bad.
Having "if" statements show up literally is less bad. They won't "ruin"
the formatting, they'll just make table cells a bit larger than usual.
You can still get an idea what the page would have looked like without
it. And if they somehow leak onto the final site, they show loud and
clear that something's wrong. Otherwise, the reader might not realize
that an extra paragraph has been printed that doesn't apply, or that
table rows were supposed to be printed but weren't, and may get
the wrong impression without realizing it.
-Mike (Iron) Orr, iron@... (if mail problems: mso@...)
http://mso.oz.net/ English * Esperanto * Russkiy * Deutsch * Espan~ol