diff --git a/internal/parser_test.go b/internal/parser_test.go index a3b04307e..06b3f6ff4 100644 --- a/internal/parser_test.go +++ b/internal/parser_test.go @@ -157,6 +157,19 @@ func fixturesParseFragmentWithOptions() []struct { source: "\x00", panic: "unable to close ", }, + { + name: "components in head should stay in head", + source: ` + + + + + +`, + want: []*Node{}, + }, } }