aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/pages
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/pages')
-rw-r--r--core/src/main/kotlin/pages/ContentNodes.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/pages/ContentNodes.kt b/core/src/main/kotlin/pages/ContentNodes.kt
index c0576006..4127796c 100644
--- a/core/src/main/kotlin/pages/ContentNodes.kt
+++ b/core/src/main/kotlin/pages/ContentNodes.kt
@@ -91,6 +91,7 @@ data class ContentResolvedLink(
/** All links that do not need to be resolved */
data class ContentEmbeddedResource(
+ override val children: List<ContentNode> = emptyList(),
val address: String,
val altText: String?,
override val dci: DCI,
@@ -98,7 +99,6 @@ data class ContentEmbeddedResource(
override val style: Set<Style> = emptySet(),
override val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()
) : ContentLink {
- override val children = emptyList<ContentNode>()
override fun withNewExtras(newExtras: PropertyContainer<ContentNode>): ContentEmbeddedResource =
copy(extra = newExtras)
}