metalsmith-sitemap
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -114,9 +114,4 @@ /** | ||
var separatorRegex = new RegExp(path.sep, 'g'); | ||
function replaceBackslash(url) { | ||
if (path.sep != '/') { | ||
return url.replace(separatorRegex, '/'); | ||
} | ||
return url; | ||
return url.replace(/\\/g, '/'); | ||
} | ||
@@ -123,0 +118,0 @@ |
{ | ||
"name": "metalsmith-sitemap", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A metalsmith plugin for generating a sitemap.xml file.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
23881
324