diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-12 17:29:04 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-12 17:29:04 +0100 |
commit | f3bed4012efe860f02dfdb7c73c0a7fe2d6bcbfa (patch) | |
tree | 817ef195661ab9b62bfee60d6fd14a691011cbf6 /src | |
parent | 5b8da9860f1404aafa4343670da483cd2c9a8cbf (diff) | |
download | dokka-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.kt | 4 |
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 -> { |