aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/parsers/MarkdownParser.kt
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-06-09 16:31:58 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-06-25 14:56:46 +0200
commitcc89f0b74a870303c854fcb892d469d4c8fb17a8 (patch)
treed0affdb4ad029926fedae5d3e0af6fcf150bfde2 /core/src/main/kotlin/parsers/MarkdownParser.kt
parent1183e09a7123c8f9665248235c5e33ba28e92780 (diff)
downloaddokka-cc89f0b74a870303c854fcb892d469d4c8fb17a8.tar.gz
dokka-cc89f0b74a870303c854fcb892d469d4c8fb17a8.tar.bz2
dokka-cc89f0b74a870303c854fcb892d469d4c8fb17a8.zip
Gives text presentation for `SinceKotlin` and hides it from rendering. Hides `Deprecated`. #944
Diffstat (limited to 'core/src/main/kotlin/parsers/MarkdownParser.kt')
-rw-r--r--core/src/main/kotlin/parsers/MarkdownParser.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/parsers/MarkdownParser.kt b/core/src/main/kotlin/parsers/MarkdownParser.kt
index 308a8fb6..07e1fcc3 100644
--- a/core/src/main/kotlin/parsers/MarkdownParser.kt
+++ b/core/src/main/kotlin/parsers/MarkdownParser.kt
@@ -371,7 +371,7 @@ class MarkdownParser(
DocumentationNode(
(listOf(kDocTag) + getAllKDocTags(findParent(kDocTag))).map {
when (it.knownTag) {
- null -> if (it.name == null) Description(parseStringToDocNode(it.getContent())) else CustomWrapperTag(
+ null -> if (it.name == null) Description(parseStringToDocNode(it.getContent())) else CustomTagWrapper(
parseStringToDocNode(it.getContent()),
it.name!!
)