aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-12 17:29:04 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-12 17:29:04 +0100
commitf3bed4012efe860f02dfdb7c73c0a7fe2d6bcbfa (patch)
tree817ef195661ab9b62bfee60d6fd14a691011cbf6 /src
parent5b8da9860f1404aafa4343670da483cd2c9a8cbf (diff)
downloaddokka-f3bed4012efe860f02dfdb7c73c0a7fe2d6bcbfa.tar.gz
dokka-f3bed4012efe860f02dfdb7c73c0a7fe2d6bcbfa.tar.bz2
dokka-f3bed4012efe860f02dfdb7c73c0a7fe2d6bcbfa.zip
process bracket tokens in markdown
Diffstat (limited to 'src')
-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 3d44c11b..4d6938bf 100644
--- a/src/Kotlin/ContentBuilder.kt
+++ b/src/Kotlin/ContentBuilder.kt
@@ -109,7 +109,9 @@ public fun DocumentationBuilder.buildContentTo(tree: MarkdownNode, target: Conte
MarkdownTokenTypes.LT,
MarkdownTokenTypes.GT,
MarkdownTokenTypes.LPAREN,
- MarkdownTokenTypes.RPAREN -> {
+ MarkdownTokenTypes.RPAREN,
+ MarkdownTokenTypes.LBRACKET,
+ MarkdownTokenTypes.RBRACKET -> {
parent.append(ContentText(node.text))
}
else -> {