File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff 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 ( ) {
You can’t perform that action at this time.
0 commit comments