diff options
-rw-r--r-- | core/src/main/kotlin/Kotlin/ContentBuilder.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Kotlin/ContentBuilder.kt b/core/src/main/kotlin/Kotlin/ContentBuilder.kt index 573b41b6..0e60ff26 100644 --- a/core/src/main/kotlin/Kotlin/ContentBuilder.kt +++ b/core/src/main/kotlin/Kotlin/ContentBuilder.kt @@ -161,6 +161,10 @@ fun buildContentTo(tree: MarkdownNode, target: ContentBlock, linkResolver: LinkR MarkdownElementTypes.LINK_DEFINITION -> { } + MarkdownTokenTypes.EMAIL_AUTOLINK -> { + parent.append(ContentText(node.text)) // TODO: create new ContentType for email to create mailto: links + } + else -> { processChildren() } |