boxwood 0.71.1 → 0.71.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -171,7 +171,10 @@ const render = (input, escape = true) => {
171
171
  return ""
172
172
  }
173
173
  if (Array.isArray(input)) {
174
- return input.filter(Boolean).map(render).join("")
174
+ return input
175
+ .filter(Boolean)
176
+ .map((input) => render(input))
177
+ .join("")
175
178
  }
176
179
  if (typeof input === "number") {
177
180
  return input.toString()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boxwood",
3
- "version": "0.71.1",
3
+ "version": "0.71.2",
4
4
  "description": "Compile HTML templates into JS",
5
5
  "main": "index.js",
6
6
  "scripts": {