Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add unit test
  • Loading branch information
yincongcyincong committed Nov 4, 2024
commit 9f9c09f2027b3c5845864ec9532b3adff6227480
1 change: 1 addition & 0 deletions html/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ func TestParseFragmentForeignContentTemplates(t *testing.T) {
srcs := []string{
"<math><html><template><mn><template></template></template>",
"<math><math><head><mi><template>",
"<svg><head><title><select><input>",
}
for _, src := range srcs {
// The next line shouldn't infinite-loop.
Expand Down