diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-10-03 13:19:45 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-10-10 12:27:20 +0200 |
commit | 8de3af68d4415418cfe2ff548f9653d33210b44d (patch) | |
tree | bb91db559752530d5048adaa9d43f9975bc933e0 /core/src/main/kotlin/Kotlin | |
parent | c0aec1158cc72910e54a1ccb1ce4e00c330b7c06 (diff) | |
download | dokka-8de3af68d4415418cfe2ff548f9653d33210b44d.tar.gz dokka-8de3af68d4415418cfe2ff548f9653d33210b44d.tar.bz2 dokka-8de3af68d4415418cfe2ff548f9653d33210b44d.zip |
Partial fix for email links in markdown #179
Diffstat (limited to 'core/src/main/kotlin/Kotlin')
-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() } |