• Russ Cox's avatar
    go/doc: use correct escaper for URL · b0729cdf
    Russ Cox authored
    Despite the name, URL escaping is for a small subpiece of the URL only.
    This particular URL is being emitted in an <a href=""> tag and in that
    context it should be HTML escaped, not URL escaped.
    
    In addition to fixing a bug, this change cuts a dependency chain
    from go/doc to net, clearing the way for use of cgo
    (which imports go/doc) during the compilation of package net.
    
    R=gri
    CC=golang-dev
    https://golang.org/cl/1960050
    b0729cdf
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...