diff --git a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/HtmlText.kt b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/HtmlText.kt index 148dc82511a81d7b5f65369cae2dce446a6fbe7e..88a5739b7f10119a6fa8f253a83a948a094a0386 100644 --- a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/HtmlText.kt +++ b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/HtmlText.kt @@ -318,8 +318,6 @@ fun HtmlText( val text = if (withinPre) node.wholeText else node.text() - // replace multiple newlines/whitespaces to single whitespace - .replace("\\s+".toRegex(), " ") // remove whitespace if first character in new line .let { if (lastCharWasNewline) it.trimStart() else it } if (text.isNotBlank()) {