aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-06 17:39:41 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-06 17:39:41 +0100
commit3fe73a9430c1b782c5891fb61dd5565ab7ee9178 (patch)
treec9a41e2cbcd2579e6d65d30a8f47ad2085d70853 /src/Kotlin
parentb78e3bb6c7d689bc1650088096461e687ee6441f (diff)
downloaddokka-3fe73a9430c1b782c5891fb61dd5565ab7ee9178.tar.gz
dokka-3fe73a9430c1b782c5891fb61dd5565ab7ee9178.tar.bz2
dokka-3fe73a9430c1b782c5891fb61dd5565ab7ee9178.zip
handle parenthesis tokens in markdown
Diffstat (limited to 'src/Kotlin')
-rw-r--r--src/Kotlin/ContentBuilder.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Kotlin/ContentBuilder.kt b/src/Kotlin/ContentBuilder.kt
index 80d49a85..42a2d994 100644
--- a/src/Kotlin/ContentBuilder.kt
+++ b/src/Kotlin/ContentBuilder.kt
@@ -105,7 +105,9 @@ public fun DocumentationBuilder.buildContentTo(tree: MarkdownNode, target: Conte
}
MarkdownTokenTypes.DOUBLE_QUOTE,
MarkdownTokenTypes.LT,
- MarkdownTokenTypes.GT -> {
+ MarkdownTokenTypes.GT,
+ MarkdownTokenTypes.LPAREN,
+ MarkdownTokenTypes.RPAREN -> {
parent.append(ContentText(node.text))
}
else -> {