Skip to content

Commit ab980b7

Browse files
committed
Merge pull request #20 from frank-weindel/master
Update html-minifier
2 parents 4a75c3e + cd5e157 commit ab980b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Tobias Koppers @sokra",
55
"description": "html loader module for webpack",
66
"dependencies": {
7-
"html-minifier": "0.5.x",
7+
"html-minifier": "^0.7.2",
88
"source-map": "0.1.x",
99
"fastparse": "^1.0.0",
1010
"loader-utils": "~0.2.2"

test/loaderTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe("loader", function() {
3838
loader.call({
3939
minimize: true
4040
}, '<!-- comment --><h3>#{number} {customer}</h3>\n<p> {title} </p>\n\t <!-- comment --> <img src="image.png" />').should.be.eql(
41-
'module.exports = "<h3>#{number} {customer}</h3><p>{title}</p><img src=" + require("./image.png") + ">";'
41+
'module.exports = "<h3>#{number} {customer}</h3><p>{title}</p><img src=\\"" + require("./image.png") + "\\">";'
4242
);
4343
});
4444
it("should not translate root-relative urls (without root query)", function() {

0 commit comments

Comments
 (0)