aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-10 17:00:14 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-10 17:00:14 +0100
commit2e6eda906df5e66273deddbe7215c6dd15e4cc8c (patch)
tree57606f47e3bf7f1eb71688ce7e1d348f8c73d643 /src/Kotlin
parent549791160cff5e02a69b632b366efcb71e3f5865 (diff)
downloaddokka-2e6eda906df5e66273deddbe7215c6dd15e4cc8c.tar.gz
dokka-2e6eda906df5e66273deddbe7215c6dd15e4cc8c.tar.bz2
dokka-2e6eda906df5e66273deddbe7215c6dd15e4cc8c.zip
support HTML entities
Diffstat (limited to 'src/Kotlin')
-rw-r--r--src/Kotlin/ContentBuilder.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Kotlin/ContentBuilder.kt b/src/Kotlin/ContentBuilder.kt
index 8e75e473..cc519ee6 100644
--- a/src/Kotlin/ContentBuilder.kt
+++ b/src/Kotlin/ContentBuilder.kt
@@ -102,6 +102,10 @@ public fun buildContentTo(tree: MarkdownNode, target: ContentBlock, linkResolver
parent.append(nodeStack.pop())
}
+ MarkdownTokenTypes.HTML_ENTITY -> {
+ parent.append(ContentEntity(node.text))
+ }
+
MarkdownTokenTypes.TEXT,
MarkdownTokenTypes.COLON,
MarkdownTokenTypes.DOUBLE_QUOTE,