File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ func TestHTML(t *testing.T) {
33
33
{`<style><!--\ncss\n--></style>` , `<style><!--\ncss\n--></style>` },
34
34
{`<style>&</style>` , `<style>&</style>` },
35
35
{`<html><head></head><body>x</body></html>` , `x` },
36
+ {"<html><head><title> a </title>\n <link></head></html>" , `<title>a</title><link>` },
36
37
{`<meta http-equiv="content-type" content="text/html; charset=utf-8">` , `<meta charset=utf-8>` },
37
38
{`<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />` , `<meta charset=utf-8>` },
38
39
{`<meta http-equiv=" content-type " content=" text/html; charset=utf-8 ">` , `<meta charset=utf-8>` },
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ var tagMap = map[Hash]traits{
125
125
Th : blockTag ,
126
126
Thead : blockTag ,
127
127
Time : normalTag ,
128
- Title : normalTag ,
128
+ Title : blockTag ,
129
129
Tr : blockTag ,
130
130
Track : normalTag ,
131
131
U : normalTag ,
You can’t perform that action at this time.
0 commit comments