POST_ and PRE_CHOMP?
Gervase Markham
gerv at mozilla.org
Sat Nov 1 22:13:36 UTC 2003
Christian Robottom Reis wrote:
> Why are our templates PRE_CHOMP by default? It's a lot more tricky for
> lines that end in template commands, isn't it?
When we initially wrote the first templates, we did some experimenting.
We wrote some templates in the style we wanted to use, and then tried
PRE, POST, both and neither to see which produced the nicer-looking
HTML. The answer was PRE.
Turning both on makes it all one line (basically), and having none
leaves too much whitespace and general ugliness. All of the current
templates are written such that PRE does the right thing - I don't think
we can change it now.
> Also, since POST_CHOMP isn't defined anywhere, does it default to off or
> on?
off.
Gerv
More information about the developers
mailing list