]> Cypherpunks repositories - gostls13.git/commit
template:
authorRuss Cox <rsc@golang.org>
Tue, 1 Sep 2009 23:31:49 +0000 (16:31 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 1 Sep 2009 23:31:49 +0000 (16:31 -0700)
commit59db1f7bb1a3a835ed5614497d7b223fa8033bcd
treec93df9c32f01bfb387f409c9a55f3f8a9b958bc3
parentf56e6fd7864c31039b19ac56781fa042e9519d36
template:
  * do full lookup for {.section},
   so that it is always allowed to replace
{Foo} with {.section Foo}{@}{.end}
  * treat False as empty so that .section can
   be used to test bools

R=r
DELTA=29  (21 added, 0 deleted, 8 changed)
OCL=34215
CL=34219
src/pkg/template/template.go
src/pkg/template/template_test.go