diff options
| author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-10 18:32:12 +0100 |
|---|---|---|
| committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-10 18:32:12 +0100 |
| commit | 0d0fc1f2bf8f09106e53626bc024298dc91361b8 (patch) | |
| tree | 7364f5a98dacdad3524389c0d818b32ab2641009 /src/Formats | |
| parent | 92075236fb1356fe6023edff1e43fe3125b76c18 (diff) | |
| download | dokka-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.kt | 2 |
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() } |
