aboutsummaryrefslogtreecommitdiff
path: root/src/Formats
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-10 18:32:12 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-10 18:32:12 +0100
commit0d0fc1f2bf8f09106e53626bc024298dc91361b8 (patch)
tree7364f5a98dacdad3524389c0d818b32ab2641009 /src/Formats
parent92075236fb1356fe6023edff1e43fe3125b76c18 (diff)
downloaddokka-0d0fc1f2bf8f09106e53626bc024298dc91361b8.tar.gz
dokka-0d0fc1f2bf8f09106e53626bc024298dc91361b8.tar.bz2
dokka-0d0fc1f2bf8f09106e53626bc024298dc91361b8.zip
distinguish ContentBlock (a ContentNode that has children) from leaf nodes
Diffstat (limited to 'src/Formats')
-rw-r--r--src/Formats/StructuredFormatService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 6ec75379..ec4cff89 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -69,7 +69,7 @@ public abstract class StructuredFormatService(val locationService: LocationServi
is ContentBlockCode -> {
appendBlockCode(this, formatText(location, content.children))
}
- else -> append(formatText(location, content.children))
+ is ContentBlock -> append(formatText(location, content.children))
}
}.toString()
}