commit | 430a433969d01010c5b12aae4698bcb6d4de8377 | [log] [tgz] |
---|---|---|
author | Roland Shoemaker <roland@golang.org> | Wed Oct 12 12:38:14 2022 -0700 |
committer | Roland Shoemaker <roland@golang.org> | Thu Oct 20 16:40:45 2022 +0000 |
tree | 6a8b487d57c48275af80dc6d64ffd3fbe96c66d3 | |
parent | da05058a03906c5dd986d0dbffe66daff3040e12 [diff] |
html: properly handle exclamation marks in comments Properly handle the case where HTML comments begin with exclamation marks and have no other content, i.e. "<!--!-->". Previously these comments would cause the tokenizer to consider everything following to also be considered part of the comment. Fixes golang/go#37771 Change-Id: I78ea310debc3846f145d62cba017055abc7fa4e0 Reviewed-on: https://go-review.googlesource.com/c/net/+/442496 Run-TryBot: Roland Shoemaker <roland@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.