@bonniernews/local-esi
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -445,6 +445,2 @@ "use strict"; | ||
let value = data[key]; | ||
if (value === "") { | ||
attributes[key] = null; | ||
return attributes; | ||
} | ||
const [current = {}] = context.tags.slice(-1); | ||
@@ -451,0 +447,0 @@ if (context.inEsiStatementProcessingContext && !current.plainText) { |
@@ -47,3 +47,3 @@ "use strict"; | ||
const value = attr[key]; | ||
if (value === null) { | ||
if (value === "") { | ||
return `${attributes} ${key}`; | ||
@@ -50,0 +50,0 @@ } |
{ | ||
"name": "@bonniernews/local-esi", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Local Edge Side Includes parser", | ||
@@ -5,0 +5,0 @@ "main": "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
34443
932