1
0
mirror of https://github.com/golang/go synced 2024-10-04 07:21:22 -06:00
go/src
Mike Samuel fc3ce34903 exp/template/html: fix bug in cssEscaper
cssEscaper escapes using the CSS convention: `\` + hex + optional-space

It outputs the space when the escape could be followed by
a hex digit to distinguish a "\na" from "\u00aa".

It did not output a space when the escape is followed by a space
character so did not distinguish "\n " from "\n".

Currently when doing lookahead, it does not distinguish spaces that
will be escaped later by the same function from ones that will not.
This is correct but suboptimal.

R=nigeltao
CC=golang-dev
https://golang.org/cl/5306042
2011-10-18 17:01:42 -05:00
..
cmd ld: modify macho linkedit segment to enable OS X code signing 2011-10-18 16:31:03 -04:00
lib9 gc: changes to export format in preparation for inlining. 2011-10-08 19:37:06 +02:00
libbio
libmach libmach: fix incorrect use of memset 2011-09-01 13:43:03 -04:00
pkg exp/template/html: fix bug in cssEscaper 2011-10-18 17:01:42 -05:00
all-qemu.bash build: update all-qemu.bash 2011-07-28 13:04:30 -04:00
all.bash
clean.bash build: reenable clean.bash without gomake 2011-03-21 00:27:50 -03:00
env.bash build: fix noclobber 2011-07-28 19:38:14 -04:00
make.bash build: stop on failed deps.bash 2011-10-14 15:54:36 -04:00
Make.ccmd build: explain $PWD use 2011-06-22 17:00:46 -04:00
Make.clib build: explain $PWD use 2011-06-22 17:00:46 -04:00
Make.cmd build: pass $GCFLAGS to compiler 2011-10-18 14:55:10 -04:00
Make.common make: prevent rm provoking 'text file busy' errors. 2011-04-15 08:25:44 -04:00
Make.inc build: avoid redundant bss declarations 2011-08-23 22:39:14 -04:00
Make.pkg build: pass $GCFLAGS to compiler 2011-10-18 14:55:10 -04:00
quietgcc.bash build: handle spaces in $USER 2011-07-28 13:04:52 -04:00
run.bash runtime: fix memory leak in parallel garbage collector 2011-10-12 13:23:34 -04:00
sudo.bash sudo.bash: print error/exit if problem with /usr/local/bin 2011-09-01 17:24:32 +10:00
version.bash version.bash: update VERSION on -save if already present 2011-08-24 22:10:25 -03:00