html-loader
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="0.5.1"></a> | ||
## [0.5.1](https://github.com/webpack/html-loader/compare/v0.5.0...v0.5.1) (2017-08-08) | ||
### Bug Fixes | ||
* Support for empty tags in tag-attribute matching ([#133](https://github.com/webpack/html-loader/issues/133)) ([6efa6de](https://github.com/webpack/html-loader/commit/6efa6de)), closes [#129](https://github.com/webpack/html-loader/issues/129) | ||
<a name="0.5.0"></a> | ||
@@ -7,0 +17,0 @@ # [0.5.0](https://github.com/webpack/html-loader/compare/v0.4.3...v0.5.0) (2017-07-26) |
@@ -42,5 +42,8 @@ /* | ||
var links = attrParse(content, function(tag, attr) { | ||
var item = tag + ":" + attr; | ||
var res = attributes.find(function(a) { | ||
return item.indexOf(a) >= 0; | ||
if (a.charAt(0) === ':') { | ||
return attr === a.slice(1); | ||
} else { | ||
return (tag + ":" + attr) === a; | ||
} | ||
}); | ||
@@ -47,0 +50,0 @@ return !!res; |
{ | ||
"name": "html-loader", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18350
170