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
This commit is contained in:
Russ Cox 2009-11-08 21:46:20 -08:00
parent 830813f019
commit ed6eb5b577
13 changed files with 97 additions and 97 deletions

View file

@ -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;
}