aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrystianUjma <kujma@virtuslab.com>2019-04-03 16:36:02 +0200
committerKrystianUjma <kujma@virtuslab.com>2019-04-03 16:36:02 +0200
commit9975b7209f55edfe7e2f1a48e8d1f8b3c522e71a (patch)
tree5aed901f892d1877841de4a06b87d65189093bde
parent65af8691289b8663fc0d7450fc5f8351e50cede7 (diff)
downloaddokka-9975b7209f55edfe7e2f1a48e8d1f8b3c522e71a.tar.gz
dokka-9975b7209f55edfe7e2f1a48e8d1f8b3c522e71a.tar.bz2
dokka-9975b7209f55edfe7e2f1a48e8d1f8b3c522e71a.zip
partial fix MarkdownFormatTest.extensions#2 test, change order of content and signature, 4 tests fixed
-rw-r--r--core/src/main/kotlin/Formats/StructuredFormatService.kt6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/src/main/kotlin/Formats/StructuredFormatService.kt b/core/src/main/kotlin/Formats/StructuredFormatService.kt
index 70cefbdb..70cf4311 100644
--- a/core/src/main/kotlin/Formats/StructuredFormatService.kt
+++ b/core/src/main/kotlin/Formats/StructuredFormatService.kt
@@ -780,10 +780,9 @@ abstract class StructuredOutputBuilder(val to: StringBuilder,
// appendPlatforms(platforms)
// }
// }
- appendSummarySignatures(summarized)
}
appendTableCell {
-
+ appendSummarySignatures(summarized)
}
}
}
@@ -830,14 +829,13 @@ abstract class StructuredOutputBuilder(val to: StringBuilder,
if (summarized.platformPlacement == Summarized.PlatformPlacement.Summary) {
appendPlatforms(summary.platforms)
}
- appendContent(summary.content)
- appendSoftLineBreak()
for (signature in summary.signatures) {
appendSignatures(
signature,
summarized.platformPlacement == Summarized.PlatformPlacement.Signature
)
}
+ appendContent(summary.content)
}
}