Skip to content

Commit 9f9c09f

Browse files
add unit test
1 parent 4cef851 commit 9f9c09f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: html/parse_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ func TestParseFragmentForeignContentTemplates(t *testing.T) {
468468
srcs := []string{
469469
"<math><html><template><mn><template></template></template>",
470470
"<math><math><head><mi><template>",
471+
"<svg><head><title><select><input>",
471472
}
472473
for _, src := range srcs {
473474
// The next line shouldn't infinite-loop.

0 commit comments

Comments
 (0)