commit | ce75fb3bc6623b2dec170f34ed5bf8346588c1d8 | [log] [tgz] |
---|---|---|
author | Tom Anthony <git@tomanthony.co.uk> | Thu Apr 18 18:18:05 2019 +0000 |
committer | Nigel Tao <nigeltao@golang.org> | Wed Apr 24 02:45:59 2019 +0000 |
tree | 80b4eac7f9e3d45102c7a57d3e4ef94aa1891195 | |
parent | 574d568418ea6c9074eb41cf63c468dbca6a51a3 [diff] |
html: Add missing condition to 'in cell' insertion mode, required by spec In section 12.2.6.4.15 of the spec, there is a condition that the current node is a td or th element, which is not implemented. This can lead to a panic when the open elements stack is popped whilst empty, as outlined in golang/go#30600. This commit implements that check. Fixes golang/go#30600 Change-Id: I4837815e2edce21b58a985a100d93d146bf71e24 GitHub-Last-Rev: 79084c5a8481cd2cf8e4df632ffa358c1e41335b GitHub-Pull-Request: golang/net#41 Reviewed-on: https://go-review.googlesource.com/c/net/+/172377 Reviewed-by: Kunpei Sakai <namusyaka@gmail.com> Reviewed-by: Nigel Tao <nigeltao@golang.org> Run-TryBot: Kunpei Sakai <namusyaka@gmail.com> TryBot-Result: Gobot Gobot <gobot@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.