namusyaka and nigeltao html: avoid panic even if unconsidered <isindex> and <template> combi…
…nation

The <isindex> element has been removed from the spec so that the
<template> element doesn't cover it.
To avoid panic, this commit adds ignoring code as a workaround.

Fixes golang/go#27704

Change-Id: I847391389285df2fc0eb6a795f8c93b481cdebac
Reviewed-on: https://go-review.googlesource.com/136575
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Latest commit 2f5d238 Sep 20, 2018
Permalink
..
Failed to load latest commit information.
atom html/atom: add atom.Rb and atom.Rtc Apr 17, 2018
charset html/charset: replace EUC-KR test Jan 8, 2016
testdata html: avoid panic even if unconsidered <isindex> and <template> combi… Sep 21, 2018
const.go html: update section numbers Feb 16, 2018
doc.go net/html: add missing package name in doc example Nov 15, 2017
doctype.go go.net/html: move exp/html and exp/html/atom here to the go.net Feb 11, 2013
entity.go html: gofmt -w -s May 8, 2018
entity_test.go go.net/html: move exp/html and exp/html/atom here to the go.net Feb 11, 2013
escape.go x/net/html: Sync the html parser and atom with the current whatwg spec Mar 3, 2015
escape_test.go go.net/html: put escaping tests escape_test.go Jul 10, 2013
example_test.go go.net: use golang.org/x/... import paths Nov 9, 2014
foreign.go html: update section numbers Feb 16, 2018
node.go html: add "in template" insertion mode support Apr 15, 2018
node_test.go go.net/html: move exp/html and exp/html/atom here to the go.net Feb 11, 2013
parse.go html: avoid panic even if unconsidered <isindex> and <template> combi… Sep 21, 2018
parse_test.go html: fix wrong comparison in foster parenting algorithm Aug 26, 2018
render.go html: Use existing standard library interface internally. Jun 28, 2015
render_test.go go.net/html: move exp/html and exp/html/atom here to the go.net Feb 11, 2013
token.go html: fix misleading Tokenizer.Token comment Jan 12, 2018
token_test.go html: gofmt -w -s May 8, 2018