Closed spacez320 closed 9 years ago
Currently if you use spaces before or after the url value in in url declaration in CSS, such as url( "something" ); the function getImagesFromCSS trips up.
url( "something" );
getImagesFromCSS
Proposed solution (get ready for this) is adjust the urlMatch regexp (inline.js:463) to:
urlMatch
urlMatch = /url\((?:[ '"]*)(?!['"]*data:)(.*?)(?:[ '"]*)\)/g
This is (indeed) fixed in 1.0.x (tests included).
Currently if you use spaces before or after the url value in in url declaration in CSS, such as
url( "something" );
the functiongetImagesFromCSS
trips up.Proposed solution (get ready for this) is adjust the
urlMatch
regexp (inline.js:463) to: