diff options
author | Russ Cox <rsc@golang.org> | 2009-11-08 21:46:20 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-11-08 21:46:20 -0800 |
commit | 806ef5c9ba1d7c95967433d5f42ce959531a5b9d (patch) | |
tree | dade91c530fd95f618cdbd810b841501f83d481c /src/cmd/godoc/snippet.go | |
parent | e240d9aa879a87390891d86c850097fac1b3aef4 (diff) | |
download | golang-806ef5c9ba1d7c95967433d5f42ce959531a5b9d.tar.gz |
a nagging inconsistency: capitalization of
HTML vs Html, URL vs Url, HTTP vs Http,
current source is 6:1 in favor of the former,
so change instances of the latter.
R=r
CC=go-dev
http://go/go-review/1024026
Diffstat (limited to 'src/cmd/godoc/snippet.go')
-rwxr-xr-x | src/cmd/godoc/snippet.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/godoc/snippet.go b/src/cmd/godoc/snippet.go index add85aacb..b6f64462a 100755 --- a/src/cmd/godoc/snippet.go +++ b/src/cmd/godoc/snippet.go @@ -30,15 +30,15 @@ type snippetStyler struct { } -func (s *snippetStyler) LineTag(line int) (text []uint8, tag printer.HtmlTag) { +func (s *snippetStyler) LineTag(line int) (text []uint8, tag printer.HTMLTag) { return; // no LineTag for snippets } -func (s *snippetStyler) Ident(id *ast.Ident) (text []byte, tag printer.HtmlTag) { +func (s *snippetStyler) Ident(id *ast.Ident) (text []byte, tag printer.HTMLTag) { text = strings.Bytes(id.Value); if s.highlight == id { - tag = printer.HtmlTag{"<span class=highlight>", "</span>"}; + tag = printer.HTMLTag{"<span class=highlight>", "</span>"}; } return; } |