normalizeEolInTextBlock

open fun normalizeEolInTextBlock(content: String, desiredEndOfLineCharacter: String): String(source)
open fun normalizeEolInTextBlock(content: String, desiredEndOfLineCharacter: LineSeparator): String(source)

Return

content, with all kinds of EOL characters replaced by desiredEndOfLineCharacter