Skip to content

Commit f00c916

Browse files
committed
Fix double reference in tests
1 parent a5376bd commit f00c916

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

minify/minify.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ func init() {
2424
Default.AddFuncRegexp(regexp.MustCompile("[/+]json$"), json.Minify)
2525
Default.AddFuncRegexp(regexp.MustCompile("[/+]xml$"), xml.Minify)
2626

27-
aspMinifier := &html.Minifier{}
27+
aspMinifier := html.Minifier{}
2828
aspMinifier.TemplateDelims = [2]string{"<%", "%>"}
2929
Default.Add("text/asp", &aspMinifier)
3030
Default.Add("text/x-ejs-template", &aspMinifier)
3131

32-
phpMinifier := &html.Minifier{}
32+
phpMinifier := html.Minifier{}
3333
phpMinifier.TemplateDelims = [2]string{"<?", "?>"} // also handles <?php
3434
Default.Add("application/x-httpd-php", &phpMinifier)
3535

36-
tmplMinifier := &html.Minifier{}
36+
tmplMinifier := html.Minifier{}
3737
tmplMinifier.TemplateDelims = [2]string{"{{", "}}"}
3838
Default.Add("text/x-go-template", &tmplMinifier)
3939
Default.Add("text/x-mustache-template", &tmplMinifier)

0 commit comments

Comments
 (0)