File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,16 @@ func init() {
24
24
Default .AddFuncRegexp (regexp .MustCompile ("[/+]json$" ), json .Minify )
25
25
Default .AddFuncRegexp (regexp .MustCompile ("[/+]xml$" ), xml .Minify )
26
26
27
- aspMinifier := & html.Minifier {}
27
+ aspMinifier := html.Minifier {}
28
28
aspMinifier .TemplateDelims = [2 ]string {"<%" , "%>" }
29
29
Default .Add ("text/asp" , & aspMinifier )
30
30
Default .Add ("text/x-ejs-template" , & aspMinifier )
31
31
32
- phpMinifier := & html.Minifier {}
32
+ phpMinifier := html.Minifier {}
33
33
phpMinifier .TemplateDelims = [2 ]string {"<?" , "?>" } // also handles <?php
34
34
Default .Add ("application/x-httpd-php" , & phpMinifier )
35
35
36
- tmplMinifier := & html.Minifier {}
36
+ tmplMinifier := html.Minifier {}
37
37
tmplMinifier .TemplateDelims = [2 ]string {"{{" , "}}" }
38
38
Default .Add ("text/x-go-template" , & tmplMinifier )
39
39
Default .Add ("text/x-mustache-template" , & tmplMinifier )
You can’t perform that action at this time.
0 commit comments