diff options
author | Nigel Tao <nigeltao@golang.org> | 2011-11-08 10:09:17 +1100 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2011-11-08 10:09:17 +1100 |
commit | 46ee09eff19f85512637bc85014f78937c3b688a (patch) | |
tree | 4f64657c7b9f2ede83171d4a9d29228378847a44 | |
parent | 2d89db65c0fe6d7f736bb2272b84bb9ab02c013d (diff) | |
download | go-46ee09eff19f85512637bc85014f78937c3b688a.tar.gz go-46ee09eff19f85512637bc85014f78937c3b688a.zip |
html: fix typo in package docs.
Fixes #2419.
R=dsymonds, rsc
CC=golang-dev
https://golang.org/cl/5352046
-rw-r--r-- | src/pkg/html/doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/html/doc.go b/src/pkg/html/doc.go index 0620679bd6..1bea690c2c 100644 --- a/src/pkg/html/doc.go +++ b/src/pkg/html/doc.go @@ -61,7 +61,7 @@ call to Next. For example, to extract an HTML page's anchor text: case StartTagToken, EndTagToken: tn, _ := z.TagName() if len(tn) == 1 && tn[0] == 'a' { - if tt == StartTag { + if tt == StartTagToken { depth++ } else { depth-- |