]> Cypherpunks repositories - gostls13.git/commit
exp/template/html: type fixed point computation in template
authorMike Samuel <mikesamuel@gmail.com>
Fri, 16 Sep 2011 07:34:26 +0000 (00:34 -0700)
committerMike Samuel <mikesamuel@gmail.com>
Fri, 16 Sep 2011 07:34:26 +0000 (00:34 -0700)
commita39904022675aea61f3206d6b69a8df2e43e9876
treef0246163ca043ceea984235b3e41b60dc0eec976
parentda5511625e9a8c10194dcdfecb94ed129b12a461
exp/template/html: type fixed point computation in template

I found a simple test case that does require doing the fixed point TODO
in computeOutCtx.

I found a way though to do this and simplify away the escapeRange
hackiness that was added in https://golang.org/cl/5012044/

R=nigeltao
CC=golang-dev
https://golang.org/cl/5015052
src/pkg/exp/template/html/escape.go
src/pkg/exp/template/html/escape_test.go