Commit 51ced7b6 authored by Him188's avatar Him188

Ignore empty lines

parent 40dd786f
......@@ -182,7 +182,7 @@ private fun Any.contentToStringReflectively(
else value._miraiContentToString(newPrefix)
}.getOrElse { "<!>" }
}
} + "\n$prefix}"
}.lines().filterNot { it.isBlank() }.joinToString("\n") + "\n$prefix}"
}
// on JVM, it will be resolved to member function
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment