diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2020-05-22 14:08:08 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-05-25 10:11:47 +0200 |
commit | c8dba800d9f3be90e073bf9de9d48ab9da9c85e7 (patch) | |
tree | 53bb371590a06c94a177531789473aefd350d08d /plugins/base/src/main | |
parent | 5937d33ca13773d66c7451b6dde16b276189f6d1 (diff) | |
download | dokka-c8dba800d9f3be90e073bf9de9d48ab9da9c85e7.tar.gz dokka-c8dba800d9f3be90e073bf9de9d48ab9da9c85e7.tar.bz2 dokka-c8dba800d9f3be90e073bf9de9d48ab9da9c85e7.zip |
Trim windows carrage return sign in importing includes
Diffstat (limited to 'plugins/base/src/main')
-rw-r--r-- | plugins/base/src/main/kotlin/transformers/documentables/ModuleAndPackageDocumentationTransformer.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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() } |