diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-03 19:35:56 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-03 19:35:56 +0100 |
commit | 6659337410225b813ea902bfa4b2e5ba3c2c1aaa (patch) | |
tree | 3c3679f01bca4497f800a371e42681246843d5d3 /src/Kotlin | |
parent | e961960934e2f43cdfc6ad63126c005866a60003 (diff) | |
download | dokka-6659337410225b813ea902bfa4b2e5ba3c2c1aaa.tar.gz dokka-6659337410225b813ea902bfa4b2e5ba3c2c1aaa.tar.bz2 dokka-6659337410225b813ea902bfa4b2e5ba3c2c1aaa.zip |
support ordered lists
Diffstat (limited to 'src/Kotlin')
-rw-r--r-- | src/Kotlin/ContentBuilder.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Kotlin/ContentBuilder.kt b/src/Kotlin/ContentBuilder.kt index 44a4f39e..4081dc6e 100644 --- a/src/Kotlin/ContentBuilder.kt +++ b/src/Kotlin/ContentBuilder.kt @@ -25,12 +25,12 @@ public fun buildContentTo(tree: MarkdownNode, target: ContentBlock, linkResolver val parent = nodeStack.peek()!! when (node.type) { MarkdownElementTypes.UNORDERED_LIST -> { - nodeStack.push(ContentList()) + nodeStack.push(ContentUnorderedList()) processChildren() parent.append(nodeStack.pop()) } MarkdownElementTypes.ORDERED_LIST -> { - nodeStack.push(ContentList()) // TODO: add list kind + nodeStack.push(ContentOrderedList()) processChildren() parent.append(nodeStack.pop()) } |