@tobi2409/layout 0.9.1 → 0.9.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/bin/layout.mjs +5 -0
  2. package/package.json +1 -1
package/bin/layout.mjs CHANGED
@@ -36,6 +36,11 @@ function walk(node, visitor) {
36
36
  for (const child of node.childNodes ?? []) {
37
37
  walk(child, visitor)
38
38
  }
39
+
40
+ // parse5 speichert den Inhalt von <template> in einem separaten DocumentFragment.
41
+ if (node.content) {
42
+ walk(node.content, visitor)
43
+ }
39
44
  }
40
45
 
41
46
  function parseAlignment(value, source) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tobi2409/layout",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Build-time HTML frame layout generator using CSS Grid",
5
5
  "license": "MIT",
6
6
  "type": "module",