diff options
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; } |