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 | 4be03a4922417bda542f58ca3b69d4a4748451ad (patch) | |
tree | 46e9cbcd37c5b17ce72c305a9aeee80cd070aad8 | |
parent | 6dd00a98db1d039ab690e16085c14b5f909aba1e (diff) | |
download | go-4be03a4922417bda542f58ca3b69d4a4748451ad.tar.gz |
html: fix typo in package docs.
Fixes issue 2419.
R=dsymonds, rsc
CC=golang-dev
http://codereview.appspot.com/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 0620679bd..1bea690c2 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-- |