commit | 942e2f445f3c0b08a5bcc0d2da5d8a3d350942c6 | [log] [tgz] |
---|---|---|
author | Kunpei Sakai <namusyaka@gmail.com> | Wed Oct 21 00:10:01 2020 +0900 |
committer | Kunpei Sakai <namusyaka@gmail.com> | Thu Oct 29 05:50:24 2020 +0000 |
tree | d0d4a5298740fad5ca055c0b0e01d8fddf071a16 | |
parent | 8adf50f3fefd6f2b13b632624b9f5eb13ce6c001 [diff] |
html: avoid using raw text mode even when nested noscript tags Assuming "in head noscript" insertion mode, the scripting flag will be disabled. Thus, even if nested noscript tags exist, the tokenizer should not go into the raw text mode. This change makes the following test happy: <head><noscript><noscript class="foo"><!--foo--></noscript> Change-Id: I2620e751d8be3d313c3a2e2f992b1e21ce2dc2ee Reviewed-on: https://go-review.googlesource.com/c/net/+/263878 Trust: Kunpei Sakai <namusyaka@gmail.com> Trust: Nigel Tao <nigeltao@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
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.