1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2026-07-01 15:45:31 +00:00

Revert "Modify markdown function to add newlines"

This reverts commit 3a05a88d4f.
This commit is contained in:
2026-07-01 11:25:43 +06:00
parent 3a05a88d4f
commit b054f3d1b5

View File

@@ -54,7 +54,7 @@ data class RichBlockParagraph(
companion object {
const val TYPE = "paragraph"
fun markdown(text: RichText): String = "\n${text.markdown}\n"
fun markdown(text: RichText): String = text.markdown
fun html(text: RichText): String = "<p>${text.html}</p>"
}
}