]> Cypherpunks repositories - gostls13.git/commit
exp/template/html: fix JS regexp escape of an empty string.
authorNigel Tao <nigeltao@golang.org>
Mon, 12 Sep 2011 01:57:34 +0000 (11:57 +1000)
committerNigel Tao <nigeltao@golang.org>
Mon, 12 Sep 2011 01:57:34 +0000 (11:57 +1000)
commitb2b3187f5edd3f73ba3a7899a264f9151ebb0d4f
tree32441f08eb24d1a6222a4297cdbb9e41a68a39f3
parenta5d0b7ee3e39f83b6077b4c9d5fe20234bb02775
exp/template/html: fix JS regexp escape of an empty string.

R=dsymonds
CC=golang-dev, mikesamuel
https://golang.org/cl/4972063
src/pkg/exp/template/html/escape_test.go
src/pkg/exp/template/html/js.go
src/pkg/exp/template/html/js_test.go