@marko/runtime-tags 6.0.114 → 6.0.115
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.
- package/dist/translator/index.js +1 -1
- package/package.json +1 -1
package/dist/translator/index.js
CHANGED
|
@@ -6056,7 +6056,7 @@ function getUsedAttrs(tagName, tag) {
|
|
|
6056
6056
|
}
|
|
6057
6057
|
}
|
|
6058
6058
|
spreadProps.push(import_compiler30.types.spreadElement(value));
|
|
6059
|
-
} else if (!seen[attr.name] ||
|
|
6059
|
+
} else if (!(seen[attr.name] || attr.name === "content" && tag.body.body.length)) {
|
|
6060
6060
|
seen[attr.name] = attr;
|
|
6061
6061
|
if (spreadProps) {
|
|
6062
6062
|
spreadProps.push(toObjectProperty(attr.name, attr.value));
|