Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-10-07 11:46:19 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-10-07 11:46:19 +0300
commit6dd60fca73ff96b48064bb8c6586631a2370ffc6 (patch)
tree60812553692edf926554e88c1402ed0ad37cb2d6 /hugolib
parent138a0259164d3fe417bb8911075cf6d13bc9cd89 (diff)
Revert "deps: Update to github.com/tdewolff/minify v2.9.4"
Closes #7792 This reverts commit b254532b52785954c98a473a635b9cea016d8565.
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/resource_chain_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/resource_chain_test.go b/hugolib/resource_chain_test.go
index 13d38bd7c..7573199aa 100644
--- a/hugolib/resource_chain_test.go
+++ b/hugolib/resource_chain_test.go
@@ -489,7 +489,7 @@ Min HTML: {{ ( resources.Get "mydata/html1.html" | resources.Minify ).Content |
`)
}, func(b *sitesBuilder) {
b.AssertFileContent("public/index.html", `Min CSS: h1{font-style:bold}`)
- b.AssertFileContent("public/index.html", `Min JS: var x;x=5,document.getElementById(&#34;demo&#34;).innerHTML=x*10`)
+ b.AssertFileContent("public/index.html", `Min JS: var x;x=5;document.getElementById(&#34;demo&#34;).innerHTML=x*10;`)
b.AssertFileContent("public/index.html", `Min JSON: {"employees":[{"firstName":"John","lastName":"Doe"},{"firstName":"Anna","lastName":"Smith"},{"firstName":"Peter","lastName":"Jones"}]}`)
b.AssertFileContent("public/index.html", `Min XML: <hello><world>Hugo Rocks!</<world></hello>`)
b.AssertFileContent("public/index.html", `Min SVG: <svg height="100" width="100"><path d="M1e2 1e2H3e2 2e2z"/></svg>`)