• Mike Samuel's avatar
    exp/template/html: fix bug in cssEscaper · fc3ce349
    Mike Samuel authored
    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
    fc3ce349
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...