From f3bed4012efe860f02dfdb7c73c0a7fe2d6bcbfa Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 12 Feb 2015 17:29:04 +0100 Subject: process bracket tokens in markdown --- src/Kotlin/ContentBuilder.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -> { -- cgit