commit | cf3bd585ca2a5a21b057abd8be7eea2204af89d0 | [log] [tgz] |
---|---|---|
author | Kunpei Sakai <kunpei@google.com> | Sun Sep 23 22:27:10 2018 +0900 |
committer | Nigel Tao <nigeltao@golang.org> | Tue Sep 25 07:13:36 2018 +0000 |
tree | 8ef94f184a8f66381c7251deb7766927ef88540f | |
parent | 2f5d2388922f370f4355f327fcf4cfe9f5583908 [diff] |
html: don't set im if <template> doesn't have HTML namespace If there are nested <template> elements and the <template> node isn't in HTML namespace, couldn't continue to parse documents correctly. By this patch, it makes the <template> which is in math namespace be skipped on resetting insertion mode. Fixes golang/go#27702 Change-Id: I6eacdb98fe29eb3c61781afca5bc4d83e72ba4ed Reviewed-on: https://go-review.googlesource.com/136875 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.