mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
html: fix typo in package docs.
Fixes #2419. R=dsymonds, rsc CC=golang-dev https://golang.org/cl/5352046
This commit is contained in:
parent
2d89db65c0
commit
46ee09eff1
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ call to Next. For example, to extract an HTML page's anchor text:
|
||||||
case StartTagToken, EndTagToken:
|
case StartTagToken, EndTagToken:
|
||||||
tn, _ := z.TagName()
|
tn, _ := z.TagName()
|
||||||
if len(tn) == 1 && tn[0] == 'a' {
|
if len(tn) == 1 && tn[0] == 'a' {
|
||||||
if tt == StartTag {
|
if tt == StartTagToken {
|
||||||
depth++
|
depth++
|
||||||
} else {
|
} else {
|
||||||
depth--
|
depth--
|
||||||
|
|
Loading…
Reference in a new issue