From c8dba800d9f3be90e073bf9de9d48ab9da9c85e7 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Fri, 22 May 2020 14:08:08 +0200 Subject: Trim windows carrage return sign in importing includes --- .../documentables/ModuleAndPackageDocumentationTransformer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin') diff --git a/plugins/base/src/main/kotlin/transformers/documentables/ModuleAndPackageDocumentationTransformer.kt b/plugins/base/src/main/kotlin/transformers/documentables/ModuleAndPackageDocumentationTransformer.kt index a886494e..b1f50a32 100644 --- a/plugins/base/src/main/kotlin/transformers/documentables/ModuleAndPackageDocumentationTransformer.kt +++ b/plugins/base/src/main/kotlin/transformers/documentables/ModuleAndPackageDocumentationTransformer.kt @@ -41,7 +41,7 @@ internal class ModuleAndPackageDocumentationTransformer(val context: DokkaContex } // Matches space between Module/Package and fully qualified name }.groupBy({ it[0] }, { it[1].split(Regex("\n"), 2) // Matches new line after fully qualified name - .let { it[0] to it[1].trim() } + .let { it[0].trim() to it[1].trim() } }).mapValues { it.value.toMap() } -- cgit