File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
"author" : " Tobias Koppers @sokra" ,
5
5
"description" : " html loader module for webpack" ,
6
6
"dependencies" : {
7
- "html-minifier" : " 0.5.x " ,
7
+ "html-minifier" : " ^0.7.2 " ,
8
8
"source-map" : " 0.1.x" ,
9
9
"fastparse" : " ^1.0.0" ,
10
10
"loader-utils" : " ~0.2.2"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ describe("loader", function() {
38
38
loader . call ( {
39
39
minimize : true
40
40
} , '<!-- 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") + "\\ ">";'
42
42
) ;
43
43
} ) ;
44
44
it ( "should not translate root-relative urls (without root query)" , function ( ) {
You can’t perform that action at this time.
0 commit comments